Part Number Hot Search : 
AF9903M NCV77 32000 GTL2021 121NQ 0N60C3 N25F80 BLV2045N
Product Description
Full Text Search
 

To Download HD66760 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HD66760
104 x 80-dot Graphics LCD Controller/Driver for 256 Colors
ADE-207-335A(Z) Rev.2.0 September 2001 Description
The HD66760, color-graphics LCD controller and driver LSI, displays 104-by-80-dot graphics for 256 STN colors. The HD66760's bit-operation functions and a 16-bit high-speed bus interface enable efficient data transfer and high-speed rewriting of data to the graphics RAM. The HD66760 has various functions for reducing the power consumption of an LCD system, such as lowvoltage operation of 2.2 V/min., a step-up circuit to generate a maximum of six-times the LCD drive voltage from the supplied voltage, and voltage-followers to decrease the direct current flow in the LCD drive bleederresistors. Combining these hardware functions with software functions, such as a partial display with lowduty drive and standby and sleep modes, allows precise power control. The HD66760 is suitable for any midsized or small portable battery-driven product requiring long-term driving capabilities, such as digital cellular phones supporting a WWW browser, bidirectional pagers, and small PDAs.
Features
104 x 80-dot graphics display LCD controller/driver for 256 STN colors Display mode change between 256 colors (8 bits per pixel) and four colors (2-bit per pixel) 16/8-bit high-speed bus interface I2C bus interface Clock synchronized serial interface Bit-operation functions for graphics processing: Write-data mask function in bit units Swap function of upper and lower bytes Logical operation in pixel unit and conditional write function * Various color-display control functions: 256 of the 4,096 possible colors can be displayed at the same time (grayscale palette incorporated) Vertical scroll display function in raster-row units Color window cursor display supported by hardware * Low-power operation supports: Preliminary: The specifications of this device are subject to change without notice. Please contact your nearest Hitachi's Sales Dept. regarding specification. * * * * * *
HD66760
Vcc = 2.2 to 3.6 V (low voltage) VLCD (= VLPS - GND) = 5 to 15.5 V (liquid crystal drive voltage) Three-, four-, five-, or six-times step-up circuit for liquid crystal drive voltage 128-step contrast adjuster and voltage followers to decrease direct current flow in the LCD drive bleeder-resistors Power-save functions such as the standby mode and sleep mode Partial LCD drive of two screens in any position Programmable drive duty ratios (1/16-1/80) and bias values (1/4-1/10) displayed on LCD Internal RAM capacity: 8,320 bytes 312-segment x 80-common liquid crystal display driver n-raster-row AC liquid-crystal drive (C-pattern waveform drive) Internal oscillation, hardware reset and software reset Shift change of segment and common drivers
* * * * *
2
HD66760
Total Current Consumption Characteristics (Vcc = 3.0 V, TYP Conditions, LCD Drive Power Current Included)
Total Power Consumption Normal Display Operation Character Display Dot Size R-C Duty Oscillation Frame Ratio Frequency Frequency 180 kHz 180 kHz 180 kHz 180 kHz 180 kHz 180 kHz 70 Hz 70 Hz 70 Hz 70 Hz 70 Hz 70 Hz Internal Logic (50 A) (60 A) (100 A) (110 A) (120 A) (130 A) LCD Power (25 A) (25 A) (25 A) (25 A) (25 A) (25 A) Standby Mode
Total*
104 x 16 dots 1/16 104 x 24 dots 1/24 104 x 56 dots 1/56 104 x 64 dots 1/64 104 x 72 dots 1/72 104 x 80 dots 1/80
Four-times 0.2 A (150 A) Four-times (160 A) Five-times (225 A) Five-times (235 A) Six-times (270 A) Six-times (280 A)
Note : When a three-, four-, five-, or six-times step-up is used: the total power consumption = internal logic current + LCD power current x 3 (three-times step-up), the total power consumption = internal logic current + LCD power current x 4 (four-times step-up), the total power consumption = internal logic current + LCD power current x 5 (five-times step-up), and the total power consumption = internal logic current + LCD power current x 6 (six-times step-up)
Type Name
Types HD66760TB0 HD66760WTxx HCD66760BP HCD66760WBP External Dimensions Bending TCP Bending TCP Au-bumped chip Au-bumped chip Interface Parallel and clock synchronized serial interface Parallel and I2C interface Parallel and clock synchronized serial interface Parallel and I2C interface
3
HD66760
HD66760 Block Diagram
OSC1 OSC2 Vcc RESET* TEST Index register (IR)
CPG
Control register (CR)
Timing generator
IM2, IM1, IM0/ID
7
16 Address counter (AC) 16
CS* RS E/WR*/SCL RW/RD*/SDA System interface 16 bits 8 bits I2C bus 16
Bit operation
Bidirectional common shift register (80 bits)
COM1COM80 Common driver
16 16 Read data latch 16 16
14
DB0-DB15 Vci C1+ C1C2+ C2C3+ C3C4+ C4C5+ C5C6+ C6VLOUT VSW1 VSW2 VREG V1REF VLREF VL1REF
Three-, four, five, and six-times step-up
Graphics RAM (GRAM) 8,320 bytes
Latch circuit (312 bits)
SEG1SEG312 Segment driver
Grayscale palette (GSP)
16-grayscale control circuit Power-supply regulator Window cursor control
Drive bias controller Contrast adjuster VTEST +- +- +- +- +-
VR
VLPS
R
R
R0
R
R
OPOFF
V1OUT
V2OUT
V3OUT
V4OUT
V5OUT
GND
4
HD66760
HD66760 Pad Arrangement
SEG2 SEG1 COM40 COM39 COM10 COM9 SEG18 SEG17
No.500 dummy1 COM8
No.449 dummy33 SEG19 SEG20
No.450 No.501
* Chip size: 14.4 mm x 3.1 mm * Chip thickness: 550 m (typ.) * PAD coordinates: PAD center * Coordinate origin: Chip center * Au bump size (pin number is shown in the blacket) (1) 80 m x 80 m dummy1 (500), dummy31 (121), dummy32 (172) and dummy33 (449) from C6 + (1) to dummy30 (112) (2) 35 m x 80 m from SEG294 (173) to SEG19 (448) (3) 80 m x 35 m from COM49 (122) to SEG295 (171) from SEG18 (450) to COM9 (499) (4) 45 m x 80 m from COM8 (501) to COM1 (508) from COM41 (113) to COM48 (120) * Au bump pitch: Refer PAD coordinate * Au bump height: 15 m (typ.)
COM1 C6+ C6C5+ C5C4+ C4C3+ C3C2+ C2C1+ C1GNDDUM1 VLOUT VLOUT VLOUT VLPS VLPS VLPS VL1REF VLREF V1REF V1OUT V2OUT V3OUT V4OUT V5OUT Vci Vci Vci Vci Vci dummy2 dummy3
No.448 No.508 No.1 No.2
dummy14 dummy15 Vcc Vcc Vcc Vcc Vcc Vcc GND GND GND GND GND GND GND VTEST VREG VSW1 VSW2 GNDDUM2 TEST OPOFF VccDUM1 RESET* CS* RS GNDDUM3 VccDUM2 IM0/ID GNDDUM4 IM1 IM2 RW/RD*/SDA E/WR*/SCL GNDDUM5 DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 DB8 DB9 DB10 DB11 DB12 DB13 DB14 DB15 OSC1 OSC2 dummy16 dummy17
HD66760 (Top view)
Y
X
dummy29 dummy30 COM41 No.120 No.173 SEG293 SEG294 COM48 dummy31 No.122 No.171 dummy32
SEG311 SEG312 COM80 COM79
COM50 COM49
SEG295 SEG296
No.121
No.172
5
HD66760
HD66760 Pad Coordinates
(Unit : um)
6
HD66760
TCP Dimensions (HD66760TB0)
Bending slit 4.0 mm
I/O, Power supply
0.5P x (59-1) = 29.0 mm
NC OSC2 OSC1 DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 E/WR*/SCL RW/RD*/SDA IM2 IM1 IM0/ID RS CS* RESET* OPOFF TEST VSW2 VSW1 VREG VTEST GND Vcc Vci V5OUT V4OUT V3OUT V2OUT V1OUT V1REF VLREF VL1REF VLPS VLOUT C1C1+ C2C2+ C3C3+ C4C4+ C5C5+ C6C6+ NC
Dummy Dummy COM41
0.5 mm Pitch
HD66760 HITACHI
COM60 COM61
0.11 mm Pitch
COM80 Dummy Dummy Dummy
0.8 mm
SEG312 SEG311 SEG310 SEG309
0.073 mm Pitch
LCD drive
SEG4 SEG3 SEG2 SEG1
0.073P x (312-1) +0.11P x (45-1) +0.11P x (45-1) +0.8 + 0.8 = 33.983 mm
0.8 mm
Dummy Dummy Dummy COM40 COM17 COM16
0.11 mm Pitch
COM1 Dummy Dummy
7
HD66760
Pin Functions
Table 1 Pin Functional Description
Signals IM2, IM1, IM0/ID Number of Pins 3 I/O I Connected to GND or V CC Functions Selects the MPU interface mode:
IM2 GND IM1 IM0/ID GND GND GND GND Vcc GND GND Vcc Vcc GND Vcc Vcc GND ID Vcc Vcc ID MPU interface mode 68-system 16-bit bus interface 68-system 8-bit bus interface 80-system 16-bit bus interface 80-system 8-bit bus interface Clock synchronized serial interface I2C bus interface
Inputs the ID of the device ID code for an I2C bus and clock synchronized serial interface. CS* 1 I MPU Low: HD66760 is selected and can be accessed High: HD66760 is not selected and cannot be accessed Must be fixed at GND level when not in use. Selects the register. (Low: Index/status, High: Control) Must be fixed at GND level when not in use. For a 68-system bus interface, serves as an enable signal to activate data read/write operation. For an 80-system bus interface, serves as a write strobe signal and writes data at the low level. For an I2C bus or clock synchronized serial interface, inputs the serial transfer clock. RW/RD*/ SDA 1 I MPU For a 68-system bus interface, serves as a signal to select data read/write operation. (Low: Write, High: Read) For an 80-system bus interface, serves as a read strobe signal and reads data at the low level. For an I2C bus or clock synchronized serial interface, serves as the bi-directional serial transfer data. Sends/Receives data. DB0-DB15 16 I/O MPU Serves as a 16-bit bidirectional data bus. For an 8-bit bus interface, data transfer uses DB15DB8; fix unused DB7-DB0 to the Vcc or GND level. When I2C or clock synchronized serial interface is used, fix DB0-DB15 to the Vcc or GND level.
RS E/WR*/SCL
1 1
I I
MPU MPU
8
HD66760
Table 1 Pin Functional Description (cont)
Signals COM1- COM80 Number of Pins 80 I/O O Connected to LCD Functions Output signals for common drive: All the unused pins output unselected waveforms. In the display-off period (D1-0 = 00, 01), sleep mode (SLP = 1), or standby mode (STB = 1), all pins output GND level. The CMS bit can change the shift direction of the common signal. For example, if CMS = 0, COM1 shifts to COM80. If CMS = 1, COM80 shifts to COM1. Note that the start position of the common output is shifted by screen-division driving. SEG1- SEG312 312 O LCD Output signals for segment drive. In the display-off period (D1-0 = 00, 01), sleep mode (SLP = 1), or standby mode (STB = 1), all pins output GND level. The SGS bit can change the shift direction of the segment signal. For example, if SGS = 0, RAM address 0000 is output from SEG1. If SGS = 1, it is output from SEG312. SEG1, SEG4, ... display red (R), SEG2, SEG5, ... display green (G), and SEG3, SEG6, ... display blue (B) (SGS = 0). Used for output from the internal operational amplifiers when they are used (OPOFF = GND); attach a capacitor to stabilize the output. When the amplifiers are not used (OPOFF = VCC), V1 to V5 voltages can be supplied to these pins from outside. Adjust the contrast for V1OUT VCC, VCi. Power supply for LCD drive. V LCD (= VLPS - GND) = 15.5 V max. Power supply for logic circuit Connect an external resistor for R-C oscillation. Inputs a reference voltage and supplies power to the step-up circuit; generates the liquid crystal display drive voltage from the operating voltage. The step-up output voltage must not be larger than the absolute maximum ratings. Must be left disconnected when the step-up circuit is not used.
V1OUT- V5OUT
5
I/O
Capacitor
VLPS VCC, GND OSC1, OSC2 Vci
1 1 2 1
-- -- I I
Power supply Power supply Oscillationresistor Power supply
VLOUT
1
O
VLPS pin/stepPotential difference between Vci and GND is three- to up capacitance six-times-stepped up and then output. Magnitude of step-up is selected by instruction. Step-up capacitance Step-up capacitance External capacitance should be connected here for step-up. External capacitance should be connected here for step-up.
C1+, C1- C2+, C2-
2 2
-- --
9
HD66760
Table 1 Pin Functional Description (cont)
Signals C3+, C3- C4+, C4- C5+, C5- C6+, C6- RESET* OPOFF Number of Pins I/O 2 2 2 2 1 1 -- -- -- -- I I Connected to Step-up capacitance Step-up capacitance Step-up capacitance Step-up capacitance Functions External capacitance should be connected here for step-up. External capacitance should be connected here for step-up. External capacitance should be connected here for step-up. External capacitance should be connected here for step-up.
MPU or external Reset pin. Initializes the LSI when low. Must be reset R-C circuit after power-on. VCC or GND Turns the internal operational amplifier off when OPOFF = VCC, and turns it on when OPOFF = GND. When internal amplifier is not used, supply V1 to V5 voltage level to the V1OUT to V5OUT pins. Test pins. Must be VSW1, VSW2 = GND. This pin is used when the reference voltage of the internal power-supply regulator is externally supplied. When the internal reference voltage (1/2 Vci) is used, VREG must be opened since the 1/2-Vci level is output. Use this pin when the LCD drive voltage is externally supplied. When the internal power-supply regulator is used, short VLREF with the V1REF pin. Outputs the LCD drive voltage generated in the internal power-supply regulator. Insert this pin when the external temperature-compensation circuit is used between V1REF and VLREF. If the circuit is not used, short V1REF and VLREF. Outputs the internal VCC level; shorting this pin sets the adjacent input pin to the VCC level. Outputs the internal GND level; shorting this pin sets the adjacent input pin to the GND level. Dummy pad. Must be left disconnected. Test pin. Must be fixed at GND level. Test pin. Must be left disconnected. Test pin. Must be left disconnected.
VSW1, VSW2 VREG
2 1
I I
GND Input pin
VLREF
1
I
Input pin
V1REF
1
O
Output pin
VCCDUM GNDDUM Dummy TEST VTEST VL1REF
2 4 4 1 1 1
O O -- I -- O
Input pins Input pins -- GND -- --
10
HD66760
Block Function Description
System Interface The HD66760 has four high-speed system interfaces: an 80-system 16-bit/8-bit bus, a 68-system 16-bit/8-bit bus, an I2C bus interface and a clock synchronized serial interface. The interface mode is selected by the IM20 pins. The HD66760 has three 16-bit registers: an index register (IR), a write data register (WDR), and a read data register (RDR). The IR stores index information from the control registers and the GRAM. The WDR temporarily stores data to be written into control registers and the GRAM, and the RDR temporarily stores data read from the GRAM. Data written into the GRAM from the MPU is first written into the WDR and then is automatically written into the GRAM by internal operation. Data is read through the RDR when reading from the GRAM, and the first read data is invalid and the second and the following data are normal. When a logic operation is performed inside of the HD66760 by using the display data set in the GRAM and the data written from the MPU, the data read through the RDR is used. Accordingly, the MPU does not need to read data twice nor to fetch the read data into the MPU. This enables high-speed processing. Execution time for instruction excluding oscillation start is 0 clock cycle and instructions can be written in succession. Table 2 Register Selection
80-series Bus WR Bits 0 1 0 1 RD Bits 1 0 1 0 68- series Bus R/W Bits 0 1 0 1 RS Bits 0 0 1 1 Operations Writes indexes into IR Reads internal status Writes into control registers and GRAM through WDR Reads from GRAM through RDR
Bit Operation The HD66760 supports the following functions: a swap function that writes the data written from the MPU into the GRAM by reversing the display position vertically in byte units, a write data mask function that selects and writes data into the GRAM in bit units, and a logic operation function that performs logic operations or conditional determination on the display data set in the GRAM and writes into the GRAM. With the 16-bit bus interface, these functions can greatly reduce the processing loads of the MPU graphics software and can rewrite the display data in the GRAM at high speed. For details, see the Graphics Operation Function section.
11
HD66760
Address Counter (AC) The address counter (AC) assigns addresses to the GRAM. When an address set instruction is written into the IR, the address information is sent from the IR to the AC. After writing into the GRAM, the AC is automatically incremented by 1 (or decremented by 1). After reading from the data, the AC is not updated. Graphics RAM (GRAM) The graphics RAM (GRAM) has eight bits/pixel and stores the bit-pattern data of 104 x 80 bytes. Grayscale Palette (GSP) The grayscale palette (GSP) is a palette table that converts the information (three bits for each color: two bits for B) read from the GRAM to 4-bit grayscale data. Any 256 of the 4,096 possible colors can be displayed at the same time. For details, see the Grayscale Palette section. Grayscale Control Circuit The grayscale control circuit performs 16-grayscale control with the frame rate control (FRC) method for grayscale display for each color. For details, see the Grayscale Palette section. Timing Generator The timing generator generates timing signals for the operation of internal circuits such as the GRAM. The RAM read timing for display and internal operation timing by MPU access are generated separately to avoid interference with one another. Oscillation Circuit (OSC) The HD66760 can provide R-C oscillation simply through the addition of an external oscillation-resistor between the OSC1 and OSC2 pins. The appropriate oscillation frequency for operating voltage, display size, and frame frequency can be obtained by adjusting the external-resistor value. Clock pulses can also be supplied externally. Since R-C oscillation stops during the standby mode, current consumption can be reduced. For details, see the Oscillation Circuit section. Liquid Crystal Display Driver Circuit The liquid crystal display driver circuit consists of 80 common signal drivers (COM1 to COM80) and 312 segment signal drivers (SEG1 to SEG312). When the number of lines are selected by a program, the required common signal drivers automatically output drive waveforms, while the other common signal drivers continue to output unselected waveforms. Display pattern data is latched when 312-bit data has arrived. The latched data then enables the segment signal drivers to generate drive waveform outputs. The shift direction of 312-bit data can be changed by the
12
HD66760
SGS bit. The shift direction for the common driver can also be changed by the CMS bit by selecting an appropriate direction for the device mounting configuration. When multiplexing drive is not used, or during the standby or sleep mode, all the above common and segment signal drivers output the GND level, halting the display. Step-up Circuit (DC-DC Converter) The step-up generates three-, four-, five-, or six-times voltage input to the Vci pin. With this, both the internal logic units and LCD drivers can be controlled with a single power supply. Step-up output level from threetimes to six-times step-up can be selected by software. For details, see the Power Supply for Liquid Crystal Display Drive section. V-Pin Voltage Follower A voltage follower for each voltage level (V1 to V5) reduces current consumption by the LCD drive power supply circuit. No external resistors are required because of the internal bleeder-resistor, which generates different levels of LCD drive voltage. This internal bleeder-resistor can be software-specified from 1/4 bias to 1/10 bias, according to the liquid crystal display drive duty value. For details, see the Power Supply for Liquid Crystal Display Drive section. Contrast Adjuster The contrast adjuster can be used to adjust LCD contrast in 128 steps by varying the LCD drive voltage by software. This can be used to select an appropriate LCD brightness or to compensate for temperature. Power-supply Regulator The power-supply regulator generates the LCD drive voltage from the reference voltage, which does not depend on the LCD load current. The fluctuating LCD drive voltage can be controlled for the fluctuating LCD load current. For details, see the Liquid Crystal Display Voltage Generator section.
13
HD66760
GRAM Address Map (HD66760)
Table 3 Relationship between Display Position and GRAM Address (GS = 0, SGS = 0)
SEG301 SEG302 SEG303 SEG304 SEG305 SEG306 SEG307 SEG308 SEG309 SEG310 SEG311 SEG312
DB 0
SEG10
SEG11
SEG/COM Pin
CMS=0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9
CMS=1 COM80 COM79 COM78 COM77 COM76 COM75 COM74 COM73 COM72
DB 15
DB DB 87
DB DB 0 15
DB DB 87
SEG12
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
DB 0
DB 15
DB DB 8 7
DB DB 0 15
DB DB 87
"0000"H "0100"H "0200"H "0300"H "0400"H "0500"H "0600"H "0700"H "0800"H "0900"H "0A00"H "0B00"H "0C00"H "0D00"H "0E00"H "0F00"H "1000"H "1100"H "1200"H "1300"H
"0001"H "0101"H "0201"H "0301"H "0401"H "0501"H "0601"H "0701"H "0801"H "0901"H "0A01"H "0B01"H "0C01"H "0D01"H "0E01"H "0F01"H "1001"H "1101"H "1201"H "1301"H
"0032"H "0132"H "0232"H "0332"H "0432"H "0532"H "0632"H "0732"H "0832"H "0932"H "0A32"H "0B32"H "0C32"H "0D32"H "0E32"H "0F32"H "1032"H "1132"H "1232"H "1332"H
"0033"H "0133"H "0233"H "0333"H "0433"H "0533"H "0633"H "0733"H "0833"H "0933"H "0A33"H "0B33"H "0C33"H "0D33"H "0E33"H "0F33"H "1033"H "1133"H "1233"H "1333"H
COM10 COM71 COM11 COM70 COM12 COM69 COM13 COM68 COM14 COM67 COM15 COM66 COM16 COM65 COM17 COM64 COM18 COM63 COM19 COM62 COM20 COM61
COM73 COM74 COM75 COM76 COM77 COM78 COM79 COM80
COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
"4800"H "4900"H "4A00"H "4B00"H "4C00"H "4D00"H "4E00"H "4F00"H
"4801"H "4901"H "4A01"H "4B01"H "4C01"H "4D01"H "4E01"H "4F01"H
"4832"H "4932"H "4A32"H "4B32"H "4C32"H "4D32"H "4E32"H "4F32"H
"4833"H "4933"H "4A33"H "4B33"H "4C33"H "4D33"H "4E33"H "4F33"H
Table 4 Relationship between GRAM Data and Display Contents
GRAM Data Selection Palette Output Pin DB 15 DB 14 DB 13 DB 12 DB 11 DB 10 DB 9 DB 8 DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0
RK palette SEG (6n+1)
GK palette SEG (6n+2)
BK palette
SEG (6n+3)
RK palette SEG (6n+4)
GK palette SEG (6n+5)
BK palette
SEG (6n+6)
Note: n = Lower 7-bit address (0 to 51)
14
HD66760
Table 5 Relationship between Display Position and GRAM Address (GS = 0, SGS = 1)
SEG301
SEG302
SEG303
SEG304
SEG305
SEG306
SEG307
SEG308
SEG309
SEG310
SEG311
SEG/COM Pin
CMS=0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 COM16 COM17 COM18 COM19 COM20
CMS=1 COM80 COM79 COM78 COM77 COM76 COM75 COM74 COM73 COM72 COM71 COM70 COM69 COM68 COM67 COM66 COM65 COM64 COM63 COM62 COM61
DB 0
DB DB 78
DB DB 15 0
DB DB 78
DB 15
DB 0
DB DB 78
DB DB 15 0
DB DB 78
DB 15
"0033"H "0133"H "0233"H "0333"H "0433"H "0533"H "0633"H "0733"H "0833"H "0933"H "0A33"H "0B33"H "0C33"H "0D33"H "0E33"H "0F33"H "1033"H "1133"H "1233"H "1333"H
"0032"H "0132"H "0232"H "0332"H "0432"H "0532"H "0632"H "0732"H "0832"H "0932"H "0A32"H "0B32"H "0C32"H "0D32"H "0E32"H "0F32"H "1032"H "1132"H "1232"H "1332"H
"0001"H "0101"H "0201"H "0301"H "0401"H "0501"H "0601"H "0701"H "0801"H "0901"H "0A01"H "0B01"H "0C01"H "0D01"H "0E01"H "0F01"H "1001"H "1101"H "1201"H "1301"H
"0000"H "0100"H "0200"H "0300"H "0400"H "0500"H "0600"H "0700"H "0800"H "0900"H "0A00"H "0B00"H "0C00"H "0D00"H "0E00"H "0F00"H "1000"H "1100"H "1200"H "1300"H
COM73 COM74 COM75 COM76 COM77 COM78 COM79 COM80
COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
"4833"H "4933"H "4A33"H "4B33"H "4C33"H "4D33"H "4E33"H "4F33"H
"4832"H "4932"H "4A32"H "4B32"H "4C32"H "4D32"H "4E32"H "4F32"H
"4801"H "4901"H "4A01"H "4B01"H "4C01"H "4D01"H "4E01"H "4F01"H
"4800"H "4900"H "4A00"H "4B00"H "4C00"H "4D00"H "4E00"H "4F00"H
Table 6 Relationship between GRAM Data and Display Contents
GRAM Data Selection Palette Output Pin DB 15 DB 14 DB 13 DB 12 DB 11 DB 10 DB 9 DB 8 DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0
RK palette SEG (312-6n)
GK palette SEG (311-6n)
BK palette
SEG (310-6n)
RK palette SEG (309-6n)
GK palette SEG (308-6n)
BK palette
SEG (307-6n)
Note: n = Lower 7-bit address (0 to 51)
SEG312
SEG10
SEG11
SEG12
SEG1
SEG2
SEG3
SEG4
SEG5
SEG6
SEG7
SEG8
SEG9
15
HD66760
Table 7 Relationship between Display Position and GRAM Address (GS = 1, SGS = 0)
SEG265 SEG276 SEG277 SEG288 SEG289 SEG300 SEG301 SEG312
DB 0
SEG12
SEG13
SEG24
SEG25
SEG36
SEG37
SEG/COM Pin
CMS=0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9
CMS=1 COM80 COM79 COM78 COM77 COM76 COM75 COM74 COM73 COM72
DB 15
DB DB 87
DB DB 0 15
DB DB 87
SEG48
SEG1
DB 0
DB 15
DB DB 8 7
DB DB 0 15
DB DB 87
"0000"H "0100"H "0200"H "0300"H "0400"H "0500"H "0600"H "0700"H "0800"H "0900"H "0A00"H "0B00"H "0C00"H "0D00"H "0E00"H "0F00"H "1000"H "1100"H "1200"H "1300"H
"0001"H "0101"H "0201"H "0301"H "0401"H "0501"H "0601"H "0701"H "0801"H "0901"H "0A01"H "0B01"H "0C01"H "0D01"H "0E01"H "0F01"H "1001"H "1101"H "1201"H "1301"H
"000B"H "010B"H "020B"H "030B"H "040B"H "050B"H "060B"H "070B"H "080B"H "090B"H "0A0B"H "0B0B"H "0C0B"H "0D0B"H "0E0B"H "0F0B"H "100B"H "110B"H "120B"H "130B"H
"000C"H "010C"H "020C"H "030C"H "040C"H "050C"H "060C"H "070C"H "080C"H "090C"H "0A0C"H "0B0C"H "0C0C"H "0D0C"H "0E0C"H "0F0C"H "100C"H "110C"H "120C"H "130C"H
COM10 COM71 COM11 COM70 COM12 COM69 COM13 COM68 COM14 COM67 COM15 COM66 COM16 COM65 COM17 COM64 COM18 COM63 COM19 COM62 COM20 COM61
COM73 COM74 COM75 COM76 COM77 COM78 COM79 COM80
COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
"4800"H "4900"H "4A00"H "4B00"H "4C00"H "4D00"H "4E00"H "4F00"H
"4801"H "4901"H "4A01"H "4B01"H "4C01"H "4D01"H "4E01"H "4F01"H
"480B"H "490B"H "4A0B"H "4B0B"H "4C0B"H "4D0B"H "4E0B"H "4F0B"H
"480C"H "490C"H "4A0C"H "4B0C"H "4C0C"H "4D0C"H "4E0C"H "4F0C"H
Note: When the GS bit is updated, the RAM data must be rewritten.
Table 8 Relationship between GRAM Data and Display Contents
GRAM Data Selection Palette Output Pin DB 15 DB 14 DB 13 DB 12 DB 11 DB 10 DB 9 DB 8 DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0
RK, GK, BK
RK, GK, BK
RK, GK, BK
RK, GK, BK RK, GK, BK
RK, GK, BK
RK, GK, BK
RK, GK, BK
SEG (24n+1) SEG (24n+4) SEG (24n+7) SEG (24n+10) SEG (24n+13) SEG (24n+16) SEG (24n+19) SEG (24n+22)
SEG (24n+3) SEG (24n+6) SEG (24n+9) SEG (24n+12) SEG (24n+15) SEG (24n+18) SEG (24n+21) SEG (24n+24)
Note: n = Lower 4-bit address (0 to 12)
16
HD66760
Table 9 Relationship between Display Position and GRAM Address (GS = 1, SGS = 1)
SEG265 SEG276 SEG277 SEG288 SEG289 SEG300 SEG301 SEG312
DB 15
SEG12
SEG13
SEG24
SEG25
SEG36
SEG37
SEG/COM Pin
CMS=0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9
CMS=1 COM80 COM79 COM78 COM77 COM76 COM75 COM74 COM73 COM72
DB 0
DB DB 78
DB DB 15 0
DB DB 78
DB 15
SEG48
SEG1
DB 0
DB DB 78
DB DB 15 0
DB DB 78
"000C"H "010C"H "020C"H "030C"H "040C"H "050C"H "060C"H "070C"H "080C"H "090C"H "0A0C"H "0B0C"H "0C0C"H "0D0C"H "0E0C"H "0F0C"H "100C"H "110C"H "120C"H "130C"H
"000B"H "010B"H "020B"H "030B"H "040B"H "050B"H "060B"H "070B"H "080B"H "090B"H "0A0B"H "0B0B"H "0C0B"H "0D0B"H "0E0B"H "0F0B"H "100B"H "110B"H "120B"H "130B"H
"0001"H "0101"H "0201"H "0301"H "0401"H "0501"H "0601"H "0701"H "0801"H "0901"H "0A01"H "0B01"H "0C01"H "0D01"H "0E01"H "0F01"H "1001"H "1101"H "1201"H "1301"H
"0000"H "0100"H "0200"H "0300"H "0400"H "0500"H "0600"H "0700"H "0800"H "0900"H "0A00"H "0B00"H "0C00"H "0D00"H "0E00"H "0F00"H "1000"H "1100"H "1200"H "1300"H
COM10 COM71 COM11 COM70 COM12 COM69 COM13 COM68 COM14 COM67 COM15 COM66 COM16 COM65 COM17 COM64 COM18 COM63 COM19 COM62 COM20 COM61
COM73 COM74 COM75 COM76 COM77 COM78 COM79 COM80
COM8 COM7 COM6 COM5 COM4 COM3 COM2 COM1
"480C"H "490C"H "4A0C"H "4B0C"H "4C0C"H "4D0C"H "4E0C"H "4F0C"H
"480B"H "490B"H "4A0B"H "4B0B"H "4C0B"H "4D0B"H "4E0B"H "4F0B"H
"4801"H "4901"H "4A01"H "4B01"H "4C01"H "4D01"H "4E01"H "4F01"H
"4800"H "4900"H "4A00"H "4B00"H "4C00"H "4D00"H "4E00"H "4F00"H
Note: When the GS bit is updated, the RAM data must be rewritten.
Table 10 Relationship between GRAM Data and Display Contents
GRAM Data Selection Palette Output Pin DB 15 DB 14 DB 13 DB 12 DB 11 DB 10 DB 9 DB 8 DB 7 DB 6 DB 5 DB 4 DB 3 DB 2 DB 1 DB 0
RK, GK, BK
RK, GK, BK
RK, GK, BK
RK, GK, BK RK, GK, BK
RK, GK, BK
RK, GK, BK
RK, GK, BK
SEG (312-24n) SEG (309-24n) SEG (306-24n)
SEG (303-24n) SEG (300-24n) SEG (297-24n) SEG (294-24n) SEG (291-24n)
SEG (310-24n) SEG (307-24n) SEG (304-24n)
SEG (301-24n) SEG (298-24n) SEG (295-24n) SEG (292-24n) SEG (289-24n)
Note: n = Lower 4-bit address (0 to 12)
17
HD66760
Instructions
Outline The HD66760 uses the 16-bit bus architecture. Before the internal operation of the HD66760 starts, control information is temporarily stored in the registers described below to allow high-speed interfacing with a highperformance microcomputer. The internal operation of the HD66760 is determined by signals sent from the microcomputer. These signals, which include the register selection signal (RS), the read/write signal (R/W), and the data bus signals (DB15 to DB0), make up the HD66760 instructions. There are eight categories of instructions that: * * * * * * * * Specify the index Read the status Control the display Control power management Process the graphics data Set internal GRAM addresses Transfer data to and from the internal GRAM Set grayscale level for the internal grayscale palette table
Normally, instructions that write data are used the most. However, an auto-update of internal GRAM addresses after each data write can lighten the microcomputer program load. Because instructions are executed in 0 cycles, they can be written in succession.
HD66760
Instruction Descriptions
Index The index instruction specifies the RAM control indexes (R00h to R39h). It sets the register number in the range of 000000 to 111001 in binary form. However, R40h to R44h are disabled since they are test registers.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
0
*
*
*
*
*
*
*
*
*
ID6 ID5 ID4 ID3 ID2 ID1 ID0
Figure 1 Index Instruction Status Read The status read instruction reads the internal status of the HD66760. L7-0: Indicate the driving raster-row position where the liquid crystal display is being driven. C6-0: Read the contrast setting values (CT6-0).
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
R
0
0
L6
L5
L4
L3
L2
L1
L0
0
C6
C5
C4
C3
C2
C1
C0
Figure 2 Status Read Instruction Start Oscillation (R00h) The start oscillation instruction restarts the oscillator from the halt state in the standby mode. After issuing this instruction, wait at least 10 ms for oscillation to stabilize before issuing the next instruction. (See the Standby Mode section.) If this register is read forcibly, 8760H is read.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W R
1 1
* 1
* 0
* 0
* 0
* 0
* 1
* 1
* 1
* 0
* 1
* 1
* 0
* 0
* 0
* 0
1 0
Figure 3 Start Oscillation Instruction
HD66760
Driver Output Control (R01h) CMS: Selects the output shift direction of a common driver. When CMS = 0, COM1 shifts to COM80. When CMS = 1, COM80 shifts to COM1. SGS: Selects the output shift direction of a segment driver. When SGS = 0, SEG1 shifts to SEG312. When SGS = 1, SEG312 shifts to SEG1. When SGS = 0, the SEG1 pin assigns the color display to R, G, or B. When SGS = 1, the SEG312 pin assigns R, G, or B to the color display. NL3-0: Specify the LCD drive duty ratio. The duty ratio can be adjusted for every eight raster-rows. GRAM address mapping does not depend on the setting value of the drive duty ratio.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
0
0
0
CMS SGS
0
0
0
0
NL3 NL2 NL1 NL0
Figure 4 Driver Output Control Instruction Table 11 NL Bits and Drive Duty
NL3 0 0 0 0 0 0 0 0 1 1 NL2 0 0 0 0 1 1 1 1 0 0 NL1 0 0 1 1 0 0 1 1 0 0 NL0 0 1 0 1 0 1 0 1 0 1 Display Size Setting disabled 312 x 16 dots 312 x 24 dots 312 x 32 dots 312 x 40 dots 312 x 48 dots 312 x 56 dots 312 x 64 dots 312 x 72 dots 312 x 80 dots LCD Drive Duty Setting disabled 1/16 Duty 1/24 Duty 1/32 Duty 1/40 Duty 1/48 Duty 1/56 Duty 1/64 Duty 1/72 Duty 1/80 Duty Common Driver Used Setting disabled COM1-COM16 COM1-COM24 COM1-COM32 COM1-COM40 COM1-COM48 COM1-COM56 COM1-COM64 COM1-COM72 COM1-COM80
HD66760
LCD-Driving-Waveform Control (R02h) RST: When RST = 1, software function is started. This function is same as hardware RESET* pin. It takes 10 clock cycle period. The RST will be automatically cleared. Therefore, after 10 clock cycle other instruction can be issued. Do not set the RST during stand-by mode. B/C: When B/C = 0, a B-pattern waveform is generated and alternates in every frame for LCD drive. When B/C = 1, a C-pattern waveform is generated and alternates in each raster-row specified by bits EOR and NW4-NW0 in the LCD-driving-waveform control register. For details, see the n-raster-row Reversed AC Drive section. EOR: When the C-pattern waveform is set (B/C = 1) and EOR = 1, the odd/even frame-select signals and the n-raster-row reversed signals are EORed for alternating drive. EOR is used when the LCD is not alternated by combining the set values of the LCD drive duty ratio and the n raster-row. For details, see the n-raster-row Reversed AC Drive section. NW4-0: Specify the number of raster-rows n that will alternate at the C-pattern waveform setting (B/C = 1). NW4-NW0 alternate for every set value + 1 raster-row, and the first to the 32nd raster-rows can be selected.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
0
0
0
0
RST
0
B/C EOR NW4 NW3 NW2 NW1 NW0
Figure 5 LCD-Driving-Waveform Control Instruction Power Control (R03h) BS2-0: The LCD drive bias value is set within the range of a 1/4 to 1/10 bias. The LCD drive bias value can be selected according to its drive duty ratio and voltage. For details, see the Liquid-crystal-display Drive-bias Selector section. BT1-0: The output factor of VLOUT between three-times, four-times, five-times, and six-times step-up is switched. The LCD drive voltage level can be selected according to its drive duty ratio and bias. Lower amplification of the step-up circuit consumes less current. PS1-0: The internal or external power supply is selected as the reference power supply for the LCD drivevoltage generator. DC1-0: The operating frequency in the step-up circuit is selected. When the step-up operating frequency is high, the driving ability of the step-up circuit and the display quality become high, but the current consumption is increased. Adjust the frequency considering the display quality and the current consumption. AP1-0: The amount of fixed current from the fixed current source in the operational amplifier for V pins (V1 to V5) is adjusted. When the amount of fixed current is large, the LCD driving ability and the display quality become high, but the current consumption is increased. Adjust the fixed current considering the display quality and the current consumption.
HD66760
During no display, when AP1-0 = 00, the current consumption can be reduced by ending the operational amplifier and step-up circuit operation. SLP: When SLP = 1, the HD66760 enters the sleep mode, where the internal display operations are halted except for the R-C oscillator, thus reducing current consumption. For details, see the Sleep Mode section. Only the following instructions can be executed during the sleep mode. a. Power control (BS2-0, BT1-0, DC1-0, AP1-0, SLP, and STB bits) b. Software reset (RST = 1) During the sleep mode, the other GRAM data and instructions cannot be updated although they are retained. STB: When STB = 1, the HD66760 enters the standby mode, where display operation completely stops, halting all the internal operations including the internal R-C oscillator. Further, no external clock pulses are supplied. For details, see the Standby Mode section. Only the following instructions can be executed during the standby mode. a. Standby mode cancel (STB = 0) b. Start oscillation c. Power control (BS2-0, BT1-0, DC1-0, AP1-0, SLP, and STB bits) During the standby mode, the GRAM data and instructions may be lost. To prevent this, they must be set again after the standby mode is canceled. Table 12 BS Bits and LCD Drive Bias Value
BS2 0 0 0 0 1 1 1 1 BS1 0 0 1 1 0 0 1 1 BS0 0 1 0 1 0 1 0 1 LCD Drive Bias Value Setting disabled 1/10 bias drive 1/9 bias drive 1/8 bias drive 1/7 bias drive 1/6 bias drive 1/5 bias drive 1/4 bias drive
HD66760
Table 13 BS Bits and Output Level
BT1 0 0 1 1 BT0 0 1 0 1 VLOUT Output Level Three-times step-up Four-times step-up Five-times step-up Six-times step-up
Table 14 DC Bits and Operating Clock Frequency
DC1 0 0 1 1 DC0 0 1 0 1 Operating Clock Frequency in the Step-up Circuit 32-divided clock 16-divided clock 128-divided clock 64-divided clock
Table 15 AP Bits and Amount of Fixed Current
AP1 0 0 1 1 AP0 0 1 0 1 Amount of Fixed Current in the Operational Amplifier Operational amplifier and booster do not operate. Small Middle Large
Table 16 Switching Reference Power Supply
PS1 0 0 1 1 PS0 0 1 0 1 VREG Pin Output (1/2Vci) Output (1/2Vci) Input (Vreg) Open (High-Z) V1REF Pin Output (1/2Vci N-times) Output (1/2Vci N-times) Output (Vreg N-times) Open (High-Z) VLREF Pin Input (from V1REF pin) Input (from V1REF pin) Input (from V1REF pin) Input (Vlcd: LCD voltage) VLREF Regulator Unused Used Unused Unused
HD66760
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
BS2 BS1 BS0 BT1 BT0 PS1 PS0 DC1 DC0 AP1 AP0 SLP STB
Figure 6 Power Control Instruction Contrast Control (R04h) CT6-0: These bits control the LCD drive voltage (potential difference between V1 and GND) to adjust 128step contrast. For details, see the Contrast Adjuster section.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
0
0
VR2 VR1 VR0
0
CT6 CT5 CT4 CT3 CT2 CT1 CT0
Figure 7 Contrast Control Instruction
HD66760
VLCD CT6: short, 3R VR CT5-0: 0.05R-3.2R
+ - + - + -
R R R0
V1 V2 V3
BS2-0: 0-7R
+ - + -
R R GND
V4 V5 GND
Figure 8 Contrast Adjuster
HD66760
Table 17 G Bits and Variable Registor Value of Contrast Adjuster
CT Set Value CT5 0 0 0 0 0 CT4 0 0 0 0 0 CT3 0 0 0 0 0 CT2 0 0 0 0 1 * * 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 0 1 CT1 0 0 1 1 0 CT0 0 1 0 1 0 Variable Resistor (VR) CT6 = 0 6.20 x R 6.15 x R 6.10 x R 6.05 x R 6.00 x R * * 3.15 x R 3.10 x R 3.05 x R CT6 = 1 3.20 x R 3.15 x R 3.10 x R 3.05 x R 3.00 x R * * 0.15 x R 0.10 x R 0.05 x R
VR2-0: These bits adjust the output voltage (V1REF) in the LCD drive reference generator in the range of four- to 11-times of Vreg (1/2Vci or VREG pin input voltage). Table 18 VR Bits and V1REF Voltage
VR2 0 0 0 0 1 1 1 1 VR1 0 0 1 1 0 0 1 1 VR0 0 1 0 1 0 1 0 1 V1REF Voltage Setting Vreg x 4-times Vreg x 5-times Vreg x 6-times Vreg x 7-times Vreg x 8-times Vreg x 9-times Vreg x 10-times Vreg x 11-times
HD66760
Entry Mode (R05h) Compare Register (R06h) The write data sent from the microcomputer is modified in the HD66760 and written to the GRAM. The display data in the GRAM can be quickly rewritten to reduce the load of the microcomputer software processing. For details, see the Graphics Operation Function section. SWP: When SWP = 1, the upper and lower bytes in the two-byte data sent from the microcomputer are swapped and written to the GRAM. When SWP = 0, this bit directly writes the two-byte data sent from the microcomputer to the GRAM. This swap processing is performed only for the data sent from the microcomputer before logical operation. When SWP = 1, the upper and lower bytes in the write data mask (WM15-0) are swapped to be executed with the write data. I/D: When I/D = 1, the address counter (AC) is automatically incremented by 1 after the data is written to the GRAM. When I/D = 0, the AC is automatically decremented by 1 after the data is written to the GRAM. AM: Set the automatic update method of the AC after the data is written to the GRAM. When AM = 0, the data is continuously written in parallel. When AM = 1, the data is continuously written vertically. LG2-0: Compare the data read from the GRAM by the microcomputer with the compare registers (CP7-0) by a compare/logical operation and write the results to GRAM. For details, see the Logical/Compare Operation Function. CP7-0: Set the compare register for the compare operation with the data read from the GRAM or written by the microcomputer.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W W
1 1
0 0
0 0
0 0
0 0
0 0
0 0
0 0
SWP 0
0
0
0
I/D
AM LG2 LG1 LG0
CP7 CP6 CP5 CP4 CP3 CP2 CP1 CP0
Figure 9 Entry Mode and Compare Register
HD66760
Write data sent from the microcomputer (DB15-0) DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
0
0
0
1
1
1
0
0
1
1
1
0
0
0
1
1
SWP = "1" Swap of upper and lower bytes
1
1
1
0
0
0
1
1
0
0
0
1
1
1
0
0
Logical/compare operation (LG2-0)
Logical operation (read data and write data) LG2-0 = "000": Replacement LG2-0 = "001": OR LG2-0 = "010": AND LG2-0 = "011": EOR
Compare operation (with compare register) LG2-0 = "100": Replacement of matched read data LG2-0 = "101": Replacement of unmatched read data LG2-0 = "110": Replacement of matched write data LG2-0 = "111": Replacement of unmatched write data
Write data mask* (WM15-0)
Write data mask (WM15-0)
GRAM
Notes:1. The write data mask (WM15-0) is set by the register in the RAM Write Data Mask section. 2. When SWP = 1, the upper and lower bytes in the write data mask are swapped to be executed with the write data.
Figure 10 Logical/Compare Operation and Swapping for the GRAM Display Control (R07h) VLE2-1: When VLE1 = 1, a vertical scroll is performed in the 1st screen. When VLE2 = 1, a vertical scroll is performed in the 2nd screen. Vertical scrolling on the two screens can be independently controlled. SPT: When SPT = 1, the 2-division LCD drive is performed. For details, see the Screen-division Driving Function section. E: When E = 1, "pixel on/off" mode is enabled. Displayed pixel can be "all on" or "all off" regardless GRAM contents. The "all on" or "all off" can be seleced B/W bit setting. When the "pixel on/off" mode is enabled (E=1), the D0 and D1 should be 1 and REV should be 0 (display on and no reverse mode). B/W: When E = 1 and B/W = 0, displayed pixel is "all off" regardless GRAM contents. When E = 1 and B/W = 1, displayed pixel is "all on" regardless GRAM contents. GS: When GS = 0, the display is in eight grayscale mode and displays 256 colors by selecting eight grayscales from 16 grayscale levels. When GS = 1, the display is in four grayscales and displays 256 colors by selecting four grayscales from 16 grayscale levels. In four-grayscale mode, four colors can be displayed with two bits per pixel (RGB). GRAM data must be rewritten when the GS bit is swapped.
HD66760
When GS = 1, the GRAM address increments or decrements addresses from 0000H to 4F0CH. For details, see the Grayscale Palette and Four-color Display Mode sections. REV: Displays all character and graphics display sections with reversal when REV = 1. For details, see the Reversed Display Function section. Since the grayscale level can be reversed, display of the same data is enabled on normally-white and normally-black panels. D1-0: Display is on when D1 = 1 and off when D1 = 0. When off, the display data remains in the GRAM, and can be displayed instantly by setting D1 = 1. When D1 is 0, the display is off with the SEG1 to SEG312 outputs and COM1 to COM80 outputs set to the GND level. Because of this, the HD66760 can control the charging current for the LCD with AC driving. When D1-0 = 01, the internal display of the HD66760 is performed although the display is off. When D1-0 = 00, the internal display operation halts and the display is off. Table 19 D Bits and Operation
D1 0 0 1 1 D0 0 1 0 1 SEG/COM Output GND GND Unlit display Display HD66760 Internal Display Operation Halt Operate Operate Operate
Notes: 1. The internal power supply can operate independently from D1-0. 2. Writing from the microcomputer to the GRAM is independent from D1-0. 3. In the sleep and standby modes, D1-0 = 00. However, the register contents of D1-0 are not modified.
R/W
RS
DB15 DB14 DB13 DB12 DB11 DB10
DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
W
1
0
0
0
0
0
VLE2 VLE1 SPT
0
0
E
B/W GS REV D1
D0
Figure 11 Display Control Instruction Cursor Control (R08h) C: When C = 1, the window cursor display is started. The display mode is selected by the CM1-0 bits, and the display area is specified in a pixel unit by the horizontal cursor position register (HS6-0 and HE6-0 bits) and vertical cursor position register (VS6-0 and VE6-0 bits). The cursor color (CR, CG, or CB) can be set to any of eight colors in the window cursor. However, the cursor color cannot be controlled by the grayscale. For details, see the Color Window Cursor Control section. CM1-0: The display mode of the window cursor is selected. These bits can display a eight-color cursor, reversed cursor, eight-color blink cursor, and reversed blink cursor.
HD66760
CR/CB/CG: The window cursor color can be specified. Red, blue, green, white, black, or any combination color can be displayed. However, the cursor color cannot be controlled by the grayscale. For details, see the Color Window Cursor Control section.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
0
0
CR
CG
CB
0
0
0
C
0
0
CM1 CM0
Figure 12 Cursor Control Instruction Table 20 CM Bits and Window Cursor Display Mode
D1 0 0 1 1 D0 0 1 0 1 Window Cursor Display Mode Eight-color cursor (displaying the window cursor with the color specified by CR, CG, or CB) Reversed cursor (displaying reversed grayscale data in the window cursor) Eight-color blink cursor (alternately blinking normal and eight-color display of CR, CG, or CB in the window cursor) Reversed blink cursor (alternately blinking normal and reversed display of the grayscale data in the window cursor)
Grayscale and Blink Synchronization (R09h) Initializes the blink and frame counters, which control the blink cycle and grayscale generation, respectively.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 13 Grayscale and Blink Synchronization Instructions
Vertical Scroll Control (R11h) VL16-11: Specify the display-start raster-row at the 1st screen display for vertical smooth scrolling. Any raster-row from the first to 80th can be selected. After the 80th raster-row is displayed, the display restarts from the first raster-row. The display-start raster-row (VL16-10) is valid only when VLE1 = 1. The rasterrow display is fixed when VLE1 = 0. (VLE1 is the 1st-screen vertical-scroll enable bit.) VL26-20: Specify the display-start raster-row at the 2nd screen display. The display-start raster-row (VL2620) is valid only when VLE2 = 1. The raster-row display is fixed when VLE2 = 0. (VLE2 is the 2nd-screen vertical-scroll enable bit.) The vertical scroll for the 1st and 2nd screens can be independently set.
HD66760
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
VL26 VL25 VL24 VL23 VL22 VL21 VL20
0
VL16 VL15 VL14 VL13 VL12 VL11 VL10
Figure 14 Vertical Scroll Control Instruction Table 21 VL Bits and Display-start Raster-row
VL26 VL16 0 0 0 0 0 : 1 1 VL25 VL15 0 0 0 0 0 : 0 0 VL24 VL14 0 0 0 0 0 : 0 0 VL23 VL13 0 0 0 0 0 : 1 1 VL22 VL12 0 0 0 0 1 : 1 1 VL21 VL11 0 0 1 1 0 : 1 1 VL20 VL10 0 1 0 1 0 : 0 1 Display-start Raster-row 1st raster-row 2nd raster-row 3rd raster-row 4th raster-row 5th raster-row : 79th raster-row 80th raster-row
Note: Do not set over the 80th (4FH) raster-row.
Horizontal Cursor Position (R12h) Vertical Cursor Position (R13h) HS6-0: Specify the start position for horizontally displaying the window cursor in a pixel unit. The cursor is displayed from the 'set value + 1' pixel. Ensure that HS6-0 HE6-0. HE6-0: Specify the end position for horizontally displaying the window cursor in a pixel unit. The cursor is displayed to the 'set value + 1' pixel. Ensure that HS6-0 HE6-0. VS6-0: Specify the start position for vertically displaying the window cursor in a raster-row unit. The cursor is displayed from the 'set value + 1' raster-row. Ensure that VS6-0 VE6-0. VE6-0: Specify the end position for vertically displaying the window cursor in a raster-row unit. The cursor is displayed to the 'set value + 1' raster-row. Ensure that VS6-0 VE6-0.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W W
1 1
0 0
HE6 HE5 HE4 HE3 HE2 HE1 HE0 VE6 VE5 VE4 VE3 VE2 VE1 VE0
0 0
HS6 HS5 HS4 HS3 HS2 HS1 HS0 VS6 VS5 VS4 VS3 VS2 VS1 VS0
Figure 15 Horizontal Cursor Position and Vertical Cursor Position Instructions
HD66760
HS1+1 HE1+1
VS1+1
Window cursor
VE1+1
Note: The cursor position must be included in the display area.
Figure 16 Window Cursor Position 1st Screen Driving Position (R14h) 2nd Screen Driving Position (R15h) SS16-0: Specify the driving start position for the first screen in a line unit. The LCD driving starts from the 'set value + 1' common driver. SE16-0: Specify the driving end position for the first screen in a line unit. The LCD driving is performed to the 'set value + 1' common driver. For instance, when SS16-10 = 07H and SE16-10 = 10H are set, the LCD driving is performed from COM8 to COM17, and non-selection driving is performed for COM1 to COM7, COM18, and others. Ensure that SS16-10 SE16-10 4FH. For details, see the Screen-division Driving Function section. SS26-0: Specify the driving start position for the second screen in a line unit. The LCD driving starts from the 'set value + 1' common driver. The second screen is driven when SPT = 1. SE26-0: Specify the driving end position for the second screen in a line unit. The LCD driving is performed to the 'set value + 1' common driver. For instance, when SPT = 1, SS26-20 = 20H, and SE26-20 = 4FH are set, the LCD driving is performed from COM33 to COM80. Ensure that SS16-10 SE16-10 < SS26-20 SE26-20 4FH. For details, see the Screen-division Driving Function section.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W W
1 1
0 0
SE16SE15SE14SE13SE12SE11SE10 SE26SE25SE24SE23SE22SE21SE20
0 0
SS16 SS15 SS14SS13SS12SS11SS10 SS26 SS25 SS24SS23SS22SS21SS20
Figure 17 1st Screen Driving Position and 2nd Screen Driving Position
HD66760
RAM Write Data Mask (R20h) WM15-0: In writing to the GRAM, these bits mask writing in a bit unit. When WM15 = 1, this bit masks the write data of DB15 and does not write to the GRAM. Similarly, the WM14-0 bits mask the write data of DB14-0 in a bit unit. When SWP = 1, the upper and lower bytes in the write data mask are swapped. For details, see the Graphics Operation Function section.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
WM15 WM14 WM13 WM12 WM11 WM10 WM9 WM8 WM7 WM6 WM5 WM4 WM3 WM2 WM1 WM0
Figure 18 RAM Write Data Mask Instruction RAM Address Set (R21h) AD14-0: Initially set GRAM addresses to the address counter (AC). Once the GRAM data is written, the AC is automatically updated according to the AM and I/D bit settings. This allows consecutive accesses without resetting addresses. Address update range is 0000H-4F33H (GS=0) and 0000H-4F0CH (GS=1). Once the GRAM data is read, the AC is not automatically updated. GRAM address setting is not allowed in the sleep mode or standby mode.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
0
AD14 AD13 AD12 AD11 AD10 AD9 AD8
0
0
AD5 AD4 AD3 AD2 AD1 AD0
Figure 19 RAM Address Set Instruction Table 22 GRAM Address Range in Eight-grayscale Mode (GS = 0)
AD14-AD0 "0000"H-"0033"H "0100"H-"0133"H "0200"H-"0233"H "0300"H-"0333"H : "AC00"H-"4C33"H "AD00"H-"4D33"H "AE00"H-"4E33"H "AF00"H-"4F33"H GRAM Setting Bitmap data for COM1 Bitmap data for COM2 Bitmap data for COM3 Bitmap data for COM4 : Bitmap data for COM77 Bitmap data for COM78 Bitmap data for COM79 Bitmap data for COM80
HD66760
Table 23 GRAM Address Range in Four-grayscale Mode (GS = 1)
AD14-AD0 "0000"H-"000C"H "0100"H-"010C"H "0200"H-"020C"H "0300"H-"030C"H : "AC00"H-"4C0C"H "AD00"H-"4D0C"H "AE00"H-"4E0C"H "AF00"H-"4F0C"H GRAM Setting Bitmap data for COM1 Bitmap data for COM2 Bitmap data for COM3 Bitmap data for COM4 : Bitmap data for COM77 Bitmap data for COM78 Bitmap data for COM79 Bitmap data for COM80
Write Data to GRAM (R22h) WD15-0 : Write 16-bit data to the GRAM. This data calls each grayscale palette. After a write, the address is automatically updated according to the AM and I/D bit settings. During the sleep and standby modes, the GRAM cannot be accessed.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
WD15WD14WD13WD12WD11WD10 WD9 WD8 WD7 WD6 WD5 WD4 WD3 WD2 WD1 WD0
Figure 20 Write Data to GRAM Instruction
DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
[GRAM write data] WD WD WD WD WD WD WD WD WD WD WD WD WD WD WD WD 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 [Eight-grayscale mode]
R2
R1
R0
G2
G1
G0
B1
B0
R2
R1
R0
G2
G1
G0
B1
B0
1 pixel [Four-grayscale mode]
C1
C0
C1
C0
C1
C0
C1
C0
C1
C0
C1
C0
C1
C0
C1
C0
1 pixel
Figure 21 GRAM Write Data
HD66760
Table 24 GRAM Data and R Grayscale Palette in the Eight-grayscale Mode (GS = 0)
GRAM Data Setting R2 0 0 0 0 1 1 1 1 R1 0 0 1 1 0 0 1 1 R0 0 1 0 1 0 1 0 1 Grayscale Palette RK03 RK13 RK23 RK33 RK43 RK53 RK63 RK73 RK02 RK12 RK22 RK32 RK42 RK52 RK62 RK72 RK01 RK11 RK21 RK31 RK41 RK51 RK61 RK71 RK00 RK10 RK20 RK30 RK40 RK50 RK60 RK70
Table 25 GRAM Data and G Grayscale Palette in the Eight-grayscale Mode (GS = 0)
GRAM Data Setting G2 0 0 0 0 1 1 1 1 G1 0 0 1 1 0 0 1 1 G0 0 1 0 1 0 1 0 1 Grayscale Palette GK03 GK13 GK23 GK33 GK43 GK53 GK63 GK73 GK02 GK12 GK22 GK32 GK42 GK52 GK62 GK72 GK01 GK11 GK21 GK31 GK41 GK51 GK61 GK71 GK00 GK10 GK20 GK30 GK40 GK50 GK60 GK70
Table 26 GRAM Data and B Grayscale Palette in the Eight-grayscale Mode (GS = 0)
GRAM Data Setting B1 0 0 1 1 B0 0 1 0 1 Grayscale Palette BK03 BK13 BK23 BK33 BK02 BK12 BK22 BK32 BK01 BK11 BK21 BK31 BK00 BK10 BK20 BK30
HD66760
Table 27 GRAM Data and Grayscale Palette in the Four-grayscale Mode (GS = 1)
GRAM Data Setting C1 0 0 1 1 C0 0 1 0 1 Grayscale Palette
RK03 RK13 RK23 RK33 RK02 RK12 RK22 RK32 RK01 RK11 RK21 RK31 RK00 RK10 RK20 RK30
Grayscale Palette
GK03 GK13 GK23 GK33 GK02 GK12 GK22 GK32 GK01 GK11 GK21 GK31 GK00 GK10 GK20 GK30
Grayscale Palette
BK03 BK13 BK23 BK33 BK02 BK12 BK22 BK32 BK01 BK11 BK21 BK31 BK00 BK10 BK20 BK30
Read Data from GRAM (R22h) RD15-0: Read 16-bit data from the GRAM. When the data is read to the microcomputer, the first-word read immediately after the GRAM address setting is latched from the GRAM to the internal read-data latch. The data on the data bus (DB15-0) becomes invalid and the second-word read is normal. When bit processing, such as a logical operation, is performed within the HD66760, only one read can be processed since the latched data in the first word is used.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
R
1
RD 15
RD 14
RD 13
RD 12
RD 11
RD 10
RD 9
RD 8
RD 7
RD 6
RD 5
RD 4
RD 3
RD 2
RD 1
RD 0
Figure 22 Read Data from GRAM Instruction
HD66760
Sets the I/D and AM bits Sets the I/D and AM bits
Address: N set
Address: N set
First word
Dummy read (invalid data) GRAM -> Read-data latch
First word
Dummy read (invalid data) GRAM -> Read-data latch
Second word
Read (data of address n) Read-data latch -> DB15-0
Second word
Read (data of address n) DB15-0 -> GRAM
Address: M set
Automatic address update: N +
First word
Dummy read (invalid data) GRAM -> Read-data latch
First word
Dummy read (invalid data) GRAM -> Read-data latch
Second word
Read (data of address) Read-data latch -> DB15-0
Second word
Write (data of address n) DB15-0 -> GRAM
i) Data read to the microcomputer
ii) Logical operation processing in the HD66760
Figure 23 GRAM Read Sequence Grayscale Palette Control (R30h to R39h) RK73-00: Specify the R-grayscale level for eight palettes from the 16-grayscale level. For details, see the Grayscale Palette and Grayscale Palette Table sections. In four-grayscale display mode, the number of palettes to be used is four. For details, see the Four-grayscale Display Mode section. GK73-00: Specify the G-grayscale level for eight palettes from the 16-grayscale level. For details, see the Grayscale Palette and Grayscale Palette Table sections. In four-grayscale display mode, the number of palettes to be used is four. For details, see the Four-grayscale Display Mode section. BK33-00: Specify the B-grayscale level for four palettes from the 16-grayscale level. For details, see the Grayscale Palette and Grayscale Palette Table sections. In four-grayscale display mode, the number of palettes to be used is four. For details, see the Four-grayscale Display Mode section.
HD66760
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
R30 R31 R32 R33 R34 R35 R36 R37 R38 R39
W W W W W W W W W W
1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
RK 13 RK 33 RK 53 RK 73 GK 13 GK 33 GK 53 GK 73 BK 13 BK 33
RK 12 RK 32 RK 52 RK 72 GK 12 GK 32 GK 52 GK 72 BK 12 BK 32
RK 11 RK 31 RK 51 RK 71 GK 11 GK 31 GK 51 GK 71 BK 11 BK 31
RK 10 RK 30 RK 50 RK 70 GK 10 GK 30 GK 50 GK 70 BK 10 BK 30
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
RK 03 RK 23 RK 43 RK 63 GK 03 GK 23 GK 43 GK 63 BK 03 BK 23
RK 02 RK 22 RK 42 RK 62 GK 02 GK 22 GK 42 GK 62 BK 02 BK 22
RK 01 RK 21 RK 41 RK 61 GK 01 GK 21 GK 41 GK 61 BK 01 BK 21
RK 00 RK 20 RK 40 RK 60 GK 00 GK 20 GK 40 GK 60 BK 00 BK 20
Figure 24 Grayscale Palette Control Instruction Test Register (R40h to R44h) Index registers R40h-R44h cannot be used or set since they are test registers. Do not change the contents of the instruction bits in these registers.
R/W RS DB15 DB14 DB13 DB12 DB11 DB10 DB9 DB8 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
W
1
Test register
Figure 25 Test Register Instruction
HD66760
Table 28 Instruction List
Upper Code
Reg. No. IR SR Register Name Index Status read
Lower Code DB 12
* L4
R/W
0 1
RS
0 0
DB 15
* 0
DB 14
* L6
DB 13
* L5
DB 11
* L3
DB 10
* L2
DB 9
* L1
DB 8
* L0
DB 7
* 0
DB 6
ID6 C6
DB 5
ID5 C5
DB 4
ID4 C4
DB 3
ID3 C3
DB 2
ID2 C2
DB 1
ID1 C1
DB 0 Description
ID0 C0 Sets the index register value. Reads the driving raster-row position (L7-0) and contrast setting (C6-0). Starts the oscillation mode.
Execution Cycle
0 0
R00h Start oscillation Device code read R01h Driver output control
0
1
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
1
10 ms
1
1
1
0
0
0
0
1
1
1
0
1
1
0
0
0
0
0
Reads 8760h
0
0
1
0
0
0
0
0
0
CMS SGS
0
0
0
0
NL3
NL2
NL1
NL0 Sets the common driver shift direction (CMS), segment driver shift direction (SGS), and driving duty ratio (NL3-0).
0
R02h LCDdrivingwaveform control R03h Power control
0
1
0
0
0
0
0
0
0
RST
0
B/C
EOR NW4 NW3 NW2 NW1 NW0 Software reset (RST), LCD drive AC 10 tcyc waveform (B/C), EOR output (EOR), and the number of n-raster-rows (NW4-0) at C-pattern AC drive. DC1 DC0 AP1 AP0 SLP STB Sets the sleep mode (SLP), standby 0 mode (STB), LCD power on (AP1- 0), boosting cycle (DC1-0), boosting output multiplying factor (BT1-0), and LCD drive bias value (BS2-0). CT0 Sets the contrast adjustment (CT6-0) and regulator adjustment (VR2-0). LG0 Specifies the logical operation (LG2-0), AC counter mode (AM), increment/decrement mode (I/D), and swap (SWP). CP0 Sets the compare register (CP7-0). 0
0
1
0
0
0
BS2
BS1
BS0
BT1
BT0
PS1
PS0
R04h Contrast control
0
1
0
0
0
0
0
VR2
VR1
VR0
0
CT6
CT5
CT4
CT3
CT2
CT1
R05h Entry mode
0
1
0
0
0
0
0
0
0
SWP
0
0
0
I/D
AM
LG2
LG1
0
R06h Compare register R07h Display control
0
1
0
0
0
0
0
0
0
0
CP7
CP6
CP5
CP4
CP3
CP2
CP1
0
0
1
0
0
0
0
0
VLE 2
VLE 1
SPT
0
0
E
B/W
GS
REV
D1
D0
Specifies display on (D1-0), reversed display (REV), 4-/16grayscale mode (GS), pixel mode enable (E), pixel on/off (B/W), screen division driiving (SPT), and vertical scroll (VLE2-1). Specifies cursor display on (C), cursor display mode (CM1-0), and cursor color (CR, CG, or CB). Synchronizes the grayscale with the blink cycle.
0
R08h Cursor control
0
1
0
0
0
0
0
CR
CG
CB
0
0
0
C
0
0
CM1
CM0
R09h Grayscale and blink synchronization R11h Vertical scroll control
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
VL26 VL25 VL24 VL23 VL22 VL21 VL20
0
VL16 VL15 VL14 VL13 VL12 VL11 VL10 Specifies the 1st-screen displaystart raster-row (VL16-10) and 2ndscreen display-start raster-row (VL26-20). HS6 HS5 HS4 HS3 HS2 HS1 HS0 Sets horizontal cursor start (HS6-0) and end (HE6-0).
0
R12h Horizontal cursor position R13h Vertical cursor position R14h 1st screen driving position R15h 2nd screen driving position R20h RAM write data mask
0
1
0
HE6
HE5
HE4
HE3
HE2
HE1
HE0
0
0
0
1
0
VE6
VE5
VE4
VE3
VE2
VE1
VE0
0
VS6
VS5
VS4
VS3
VS2
VS1
VS0 Sets vertical cursor start (VS6-0) and end (VE6-0).
0
0
1
0
SE 16
SE 15
SE 14
SE 13
SE 12
SE 11
SE 10
0
SS 16
SS 15
SS 14
SS 13
SS 12
SS 11
SS 10
Sets 1st-screen driving start (SS16-10) and end (SE16-10).
0
0
1
0
SE 26
SE 25
SE 24
SE 23
SE 22
SE 21
SE 20
0
SS 26
SS 25
SS 24
SS 23
SS 22
SS 21
SS 20
Sets 2nd-screen driving start (SS26-20) and end (SE26-20).
0
0
1
WM 15
WM 14
WM 13
WM 12
WM 11
WM 10
WM 9
WM 8
WM 7
WM 6
WM 5
WM 4
WM 3
WM 2
WM 1
WM 0
Specifies write data mask (WM15- 0) at RAM write.
0
HD66760
Table 28 Instruction List (cont)
Upper Code
Reg. No. Register Name
Lower Code DB 12 DB 11 DB 10 DB 9 DB 8 DB 7
0
R/W
0
RS
1
DB 15
0
DB 14
DB 13
DB 6
0
DB 5
DB 4
DB 3
DB 2
DB 1
DB 0 Description
Initially set the RAM address to the address counter (AC). Writes data to the RAM.
Execution Cycle
0
R21h RAM address set R22h Write data to GRAM Read data from GRAM R30h R-grayscale palette control (1) R31h R-grayscale palette control (2) R32h R-grayscale palette control (3) R33h R-grayscale palette control (4) R34h G-grayscale palette control (1) R35h G-grayscale palette control (2) R36h G-grayscale palette control (3) R37h G-grayscale palette control (4) R38h B-grayscale palette control (1) R39h B-grayscale palette control (2) R40h Test register (1) R41h Test register (2) R42h Test register (3) R43h Test register (4) R44h Test register (5)
AD14-8 (upper)
AD5-0 (lower)
0
1
Write Data (upper)
Write Data (lower)
0
1
1
Read Data (upper)
Read Data (lower)
Reads data from the RAM.
0
0
1
0
0
0
0
RK 13
RK 12
RK 11
RK 10
0
0
0
0
RK 03
RK 02
RK 01
RK 00
Specifies the R-grayscale palette.
0
0
1
0
0
0
0
RK 33
RK 32
RK 31
RK 30
0
0
0
0
RK 23
RK 22
RK 21
RK 20
Specifies the R-grayscale palette.
0
0
1
0
0
0
0
RK 53
RK 52
RK 51
RK 50
0
0
0
0
RK 43
RK 42
RK 41
RK 40
Specifies the R-grayscale palette.
0
0
1
0
0
0
0
RK 73
RK 72
RK 71
RK 70
0
0
0
0
RK 63
RK 62
RK 61
RK 60
Specifies the R-grayscale palette.
0
0
1
0
0
0
0
GK 13
GK 12
GK 11
GK 10
0
0
0
0
GK 03
GK 02
GK 01
GK 00
Specifies the G-grayscale palette.
0
0
1
0
0
0
0
GK 33
GK 32
GK 31
GK 30
0
0
0
0
GK 23
GK 22
GK 21
GK 20
Specifies the G-grayscale palette.
0
0
1
0
0
0
0
GK 53
GK 52
GK 51
GK 50
0
0
0
0
GK 43
GK 42
GK 41
GK 40
Specifies the G-grayscale palette.
0
0
1
0
0
0
0
GK 73
GK 72
GK 71
GK 70
0
0
0
0
GK 63
GK 62
GK 61
GK 60
Specifies the G-grayscale palette.
0
0
1
0
0
0
0
BK 13
BK 12
BK 11
BK 10
0
0
0
0
BK 03
BK 02
BK 01
BK 00
Specifies the B-grayscale palette.
0
0
1
0
0
0
0
BK 33
BK 32
BK 31
BK 30
0
0
0
0
BK 23
BK 22
BK 21
BK 20
Specifies the B-grayscale palette.
0
0
1
Test register (disabled)
Disables the use or setting of this 0 register since this is the test register. Disables the use or setting of this 0 register since this is the test register. Disables the use or setting of this 0 register since this is the test register. Disables the use or setting of this 0 register since this is the test register. Disables the use or setting of this 0 register since this is the test register.
0
1
Test register (disabled)
0
1
Test register (disabled)
0
1
Test register (disabled)
0
1
Test register (disabled)
Note:
`*' means `doesn't matter'.
HD66760
Reset Function
The HD66760 is internally initialized by RESET input. Because the busy flag (BF) indicates a busy state (BF = 1) during the reset period, no instruction or GRAM data access from the MPU is accepted. The reset input must be held for at least 1 ms. Do not access the GRAM or initially set the instructions until the R-C oscillation frequency is stable after power has been supplied (10 ms). Instruction Set Initialization: 1. 2. 3. 4. Start oscillation executed Driver output control (NL3-0 = 1001, SGS = 0, CMS = 0) B-pattern waveform AC drive (RST = 0, B/C = 0, ECR = 0, NW4-0 = 00000) Power control (PS1-0 = 00, DC1-0 = 00, AP1-0 = 00: LCD power off, SLP = 0: Sleep mode off, STB = 0: Standby mode off) 5. 1/10 bias drive (BS2-0 = 001), Three-times step-up (BT1-0 = 00), Weak contrast (CT6-0 = 0000000) 6. Entry mode set (SWP = 0, I/D = 1: Increment by 1, AM = 0: Horizontal move, LG2-0 = 000: Replace mode) 7. Compare register (CP7-0: 00000000) 8. Display control (VLE2-1 = 00: No vertical scroll, SPT = 0, E = 0, B/W = 0, GS = 0: Eight-grayscale mode, REV = 0, D1-0 = 00: Display off) 9. Cursor control (CR/CG/CB = 000, C = 0: Cursor display off, CM1-0 = 00) 10. Vertical scroll (VL26-20 = 000000, VL16-10 = 000000) 11. Window cursor display position (HS6-0 = HE6-0 = VS6-0 = VE6-0 = 00000000) 12. 1st screen division (SS16-10 = 00000000, SE16-10 = 11111111) 13. 2nd screen division (SS26-20 = 00000000, SE26-20 = 11111111) 14. RAM write data mask (WM15-0 = 0000H: No mask) 15. RAM address set (AD14-0 = 0000H) 16. Grayscale palette (RK03-00 = 0000, RK13-10 = 0011, RK23-20 = 0101, RK33-30 = 0111, RK43-40 = 1001, RK53-50 = 1011, RK63-60 = 1101, RK73-70 = 1111, GK03-00 = 0000, GK13-10 = 0011, GK23-20 = 0101, GK33-30 = 0111, GK43-40 = 1001, GK53-50 = 1011, GK63-60 = 1101, GK73-70 = 1111, BK03-00 = 0000, BK13-10 = 0101, BK23-20 = 1001, BK33-30 = 1111) GRAM Data Initialization: This is not automatically initialized by reset input but must be initialized by software while display is off (D10 = 00). Output Pin Initialization: 1. LCD driver output pins (SEG/COM): Output GND level 2. Step-up circuit output pin (VLOUT): Outputs Vcc level 3. Oscillator output pin (OSC2): Outputs oscillation signal
HD66760
Parallel Data Transfer
16-bit Bus Interface Setting the IM2-0 (interface mode) to the GND/GND/GND level allows 68-system E-clock-synchronized 16bit parallel data transfer. Setting the IM2-0 to the GND/Vcc/GND level allows 80-system 16-bit parallel data transfer. When the number of buses or the mounting area is limited, use an 8-bit bus interface.
H8/2245
CSn* A1 HWR* (RD*) D15-D0 16
CS* RS HD66760 WR* (RD*) DB15-DB0
Figure 26 Interface to 16-bit Microcomputer 8-bit Bus Interface Setting the IM2-0 (interface mode) to the GND/GND/Vcc level allows 68-system E-clock-synchronized 8-bit parallel data transfer using pins DB15-DB8. Setting the IM2-0 to the GND/Vcc/Vcc level allows 80-system 8-bit parallel data transfer. The 16-bit instructions and RAM data are divided into eight upper/lower bits and the transfer starts from the upper eight bits. Fix unused pins DB7-DB0 to the Vcc or GND level. Note that the upper bytes must also be written when the index register is written to.
H8/2245
CSn* A1 HWR* (RD*) D15-D8 8 8 GND
CS* RS HD66760 WR* (RD*) DB15-DB8 DB7-0
Figure 27 Interface to 8-bit Microcomputer Note: Transfer synchronization function for an 8-bit bus interface The HD66760 supports the transfer synchronization function which resets the upper/lower counter to count upper/lower 8-bit data transfer in the 8-bit bus interface. Noise causing transfer mismatch between the eight upper and lower bits can be corrected by a reset triggered by consecutively writing a 00H instruction four times. The next transfer starts from the upper eight bits. Executing synchronization function periodically can recover any runaway in the display system.
HD66760
RS
R/W
E
DB15- DB8
; ;; ; ;; ; ;; ; ; ; ; ;; ;
Upper/ lower 00H (1) 00H (2) 00H (3) 00H (4) Upper Lower (8-bit transfer synchronization)
Figure 28 8-bit Transfer Synchronization
HD66760
Serial Data Transfer (I2C bus interface)
Setting the IM2=Vcc and IM1=Vcc level allows I2C bus interface, using the serial data line (SDA) and serial transfer clock line (SCL). For the I2C bus interface, the IM0/ID pin function uses an ID pin. The HD66760W is initiated serial data transfer by transferring the first byte when a high SCL level at the falling edge of the SDA input is sampled; it ends serial data transfer when a high SCL level at the rising edge of the SDA input is sampled. Table 29 illustrates the start byte of I2C bus interface data and Figure 29 and 30 show the I2C bus interface timing sequence. The HD66760W is selected when the higher 6-bit slave address in the first byte transferred from the master device match the 6-bits device identification code assigned to the HD66760W. The HD66760W, when selected, receive the subsequent data string. The lower 1-bit of the device identification code can be determined by the ID pin; select an appropriate code that is not assigned to any other slave device. The upper five bits are fixed to 01110. One slave address is assigned to a single HD66760W. The ninth bit of the first byte is a receive-data acknowledge bit (ACK). When the received slave address matches the device ID code, HD66760W pulls down the ACK bit to a low level. Therefore, the ACK output buffer is an open-drain structure, only allowing low-level output. However, the ACK bit is undermined immediately after power-on; make sure to initialize the LSI using the RESET* input. After identifying the address in the first byte, the HD66760W receives the subsequent data as an HD66760W index or as RAM data. Having received 8-bit data normally, HD66760W pulls down the ninth bit (ACK) to a low level. The index register or RAM data is 16-bits data format. Therefore data transfer has to be two 8-bit access cycles after first byte transfer. Five bytes of GRAM read data after the start byte are invalid. The HD66760W start to read correct GRAM data from sixth byte. Table 29 Start Byte Format
Transfer Bit Start byte format S Transfer start 0 Note: ID bit is selected by the IM0/ID pin. 1 1 2 3 4 5 6 7 RS 0 ID 8 R/W 9 ACK
Device ID code 1 1
Table 30 RS and R/W bit function
RS 0 0 1 1 R/W 0 1 0 1 Function Write index register to index Reads status Write control register or GRAM via write data register Read GRAM via read data register
HD66760
a) Basic data-receive timing through the I2C bus interface
Transfer start 1 2 3 4 5 6 7 8 9 Transfer end 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
SCL (input)
SDA (input/ output)
"0" "1" "1" "1" "0" ID RS "0" Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack
Device ID code RS RW
1st index or data
2nd index or data
Acknowledge Start byte Acknowledge Index register / write data register Acknowledge
b) 1st and 2nd byte assignment
1st byte 2nd byte
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
DB15 DB14 DB13 DB12 DB11 DB10 DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Index / write data register upper bits
Index / write data register lower bits
c) Consecutive data-receive timing through the I2C bus interface
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
SCL
ACK
ACK
ACK
SDA
S
Start byte
Index / write data register upper bits
Index / write data register lower bits
Index / write data register upper bits
ACK
Index / write data register lower bits
ACK
P Transfer end
Transfer start 2 bytes 2 bytes Index / write data register execution.
Index / write data register execution.
note: - After start byte transfer, upper bits of the index or write data register should be written first. - Start byte should be transfered just after start (S). - Index or write data register is executed when upper and lower bits are written. Therefore, data transfer unit has to be twice byte access cycle.
Figure 29 I2C bus interface data-receive sequence
HD66760
a) Basic data-send timing through the I2C bus interface
Transfer start 1 2 3 4 5 6 7 8 9 Transfer end 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
SCL (input)
SDA (input/ output)
"0" "1" "1" "1" "0" ID RS "1" Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack D7 D6 D5 D4 D3 D2 D1 D0 Ack 1st data RS RW Acknowledge Start byte Acknowledge Status / read data register Acknowledge
Device ID code
2nd data
b) 1st and 2nd byte assignment
1st byte 2nd byte
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
DB15 DB14 DB13 DB12 DB11 DB10 DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Status / read data register upper bits
Status / read data register lower bits
c) Consecutive data-send timing through the I2C bus interface
SCL
ACK
SDA
S
Start byte (SR or R00h read)
Dummy read (1 byte)
ACK ACK
Status or device code upper bits (1 byte)
Status or device code lower bits (1 byte)
ACK
ACK
ACK
Status lower bits (1 bye)
P
Transfer start 2 bytes
ACK
Transfer end
SDA
S
Start byte (RS=1)
Dummy read (5 bytes)
ACK
ACK
Read data upper bits (1 byte)
Read data lower bits ( 1 byte)
ACK
Read data lower bits ( 1 byte)
P
Transfer start 2 bytes
Transfer end
note: - After start byte transfer, upper bits of the status or read data register should be read first. - Start byte should be transfered just after start (S).
Figure 30 I2C bus interface data-send sequence
HD66760
Serial Data Transfer (Clock synchronized serial interface)
Setting the IM2=Vcc and IM1=GND level allows standard clock synchronized serial data transfer, using the chip select line (CS*), serial data line (SDA) and serial transfer clock line (SCL). For the clock synchronized serial interface, the IM0/ID pin function uses an ID pin. The HD66760 initiates clock synchronized serial data transfer by transferring the first byte at the falling edge of CS* input. It ends clock synchronized serial data transfer the rising edge of CS* input. The HD66760 is selected when the higher 6-bit slave address in the first byte transferred from the transmitting device match the 6-bits device identification code assigned to the HD66760. The HD66760, when selected, receive the subsequent data string. The lower 1-bit of the device identification code can be determined by the ID pin. The upper five bits are fixed to 01110. Two different chip address must be assigned to a single HD66760 because the seventh bit of the start byte is used as a register select bit (RS); that is, when RS=0, an index can be written, and when RS=1, control register and GRAM data can be written or read from GRAM. Read or write is selected according to the eighth bit of the start byte (R/W bit). The data is received when the R/W bit is 0, and is transmitted when the R/W bit is 1. After receiving the start byte, the HD66760 receives the subsequent data as an HD66760 index or as GRAM data. Five bytes of GRAM read data after the start byte are invalid. The HD66760 start to read correct GRAM data from sixth byte. Table 30a Start Byte Format
Transfer Bit Start byte format S Transfer start 0 Note: ID bit is selected by the IM0/ID pin. 1 1 2 3 4 5 6 7 RS 0 ID 8 R/W
Device ID code 1 1
Table 30b RS and R/W bit function
RS 0 0 1 1 R/W 0 1 0 1 Function Write index register to index Reads status Write control register or GRAM via write data register Read GRAM via read data register
HD66760
a) Basic data-receive timing through the clock synchronized serial interface
Transfer start Transfer end
CS*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
SCL
SDA
"0" "1" "1" "1" "0" ID RS "0" D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Device ID code RS RW
1st index or data
2nd index or data
Start byte
Index register / write data register
b) 1st and 2nd byte assignment
1st byte 2nd byte
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
DB15 DB14 DB13 DB12 DB11 DB10 DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Index / write data register upper bits
Index / write data register lower bits
c) Consecutive data-receive timing through the clock synchnorized serial interface
CS*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
SCL
SDA
Start byte
Index / write data register upper bits
Index / write data register lower bits
Index / write data register upper bits
Index / write data register lower bits
2 bytes
2 bytes Index / write data register execution. Index / write data register execution.
note: - After start byte transfer, upper bits of the index or write data register should be written first. - Start byte should be transfered first. - Index or write data register is executed when upper and lower bits are written. Therefore, data transfer unit has to be twice byte access cycle.
Figure 30a Clock synchronized serial interface data-receive sequence
HD66760
a) Basic data-send timing through the clock synchronized serial interface
Transfer start Transfer end
CS*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
SCL
SDA
"0" "1" "1" "1" "0" ID
RS "1" D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
Device ID code RS RW
1st data
2nd data
Start byte
Status / read data register
b) 1st and 2nd byte assignment
1st byte 2nd byte
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
DB15 DB14 DB13 DB12 DB11
DB10 DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
Status / read data register upper bits
Status / read data register lower bits
c) Consecutive data-send timing through the clock synchnorized serial interface
CS*
SCL
SDA
Start byte (SR or R00h read)
Dummy read (1 byte)
Status or device code upper bits (1 byte)
Status or device code lower bits(1 byte)
Status lower bits (1 byte)
When status is read, valid data can be read after one dummy read cycle.
SDA
Start byte (RS=1)
Dummy read (5 bytes)
Read data upper bits (1 byte)
Read data lower bits (1 byte)
Read data lower bits (1 byte)
When GRAM data is read, valid data can be read after five dummy read cycles.
Figure 30b Clock synchronized serial interface data-send sequence
HD66760
Graphics Operation Function
The HD66760 can greatly reduce the load of the microcomputer graphics software processing through the 16bit bus architecture and internal graphics-bit operation function. This function supports the following: 1. A swap function that exchanges the upper and lower bytes in the 16-bit data sent from the microcomputer. 2. A write data mask function that selectively rewrites some of the bits in the 16-bit write data. 3. A logical operation write function that writes the data sent from the microcomputer and the original RAM data by a logical operation. 4. A conditional write function that compares the original RAM data or write data and the compare-bit data and writes the data sent from the microcomputer only when the conditions match. Even if the display size is large, the display data in the graphics RAM (GRAM) can be quickly rewritten. The graphics bit operation can be controlled by combining the entry mode register, the bit set value of the RAM-write-data mask register, and the read/write from the microcomputer. Table 31 Graphics Operation
Bit Setting Operation Mode Write mode 1 Write mode 2 Write mode 3 Write mode 4 Read/write mode 1 Read/write mode 2 Read/write mode 3 Read/write mode 4 I/D 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 AM 0 1 0 1 0 1 0 1 LG2-0 000 000 110 111 110 111 001 010 011 001 010 011 100 101 100 101 Operation and Usage Horizontal data replacement, horizontal-border drawing Vertical data replacement, vertical-border drawing Conditional horizontal data replacement, horizontalborder drawing Conditional vertical data replacement, verticalborder drawing Horizontal data write with logical operation, horizontal-border drawing Vertical data write with logical operation, verticalborder drawing Conditional horizontal data replacement, horizontalborder drawing Conditional vertical data replacement, verticalborder drawing
HD66760
Microcomputer
16
Read-data latch
Write-data latch 16 1 Swap processing 16 Swap bit (SWP)
+1/-1
+256 16
16
Address counter (AC)
Logical/Compare operation (LG2-0:) 000: replacement, 001: OR, 010: AND, 011: EOR, 100: replacement with matched read, 101: replacement with unmatched read, 110: replacement with matched write, 111: replacement with unmatched write
3 8
Logical operation bit (LG2-0) Compare bit (CP7-0)
16 16 Write bit mask 14 Write-mask register (WM15-0)
Graphics RAM (GRAM)
Figure 31 Data Processing Flow of the Graphics Bit Operation
HD66760
Swap Function
The HD66760 has a byte-wise swap function that exchanges the upper and lower bytes in the two-byte data sent from the microcomputer. When SWP = 0, the data written by the microcomputer is directly transferred to the inside. When SWP = 1, the data written by the microcomputer is internally transferred by exchanging the upper and lower bytes.
DB15 DB8 DB7 DB0 Data written by R02 R01 R00 G02 G01 G00 B02 B01 R12 R11 R10 G12 G11 G10 B12 B11 the microcomputer Upper byte Lower byte DB15 i) SWP = "0": DB8 DB7 DB0
R02 R01 R00 G02 G01 G00 B02 B01 Upper byte DB7
R12 R11 R10 G12 G11 G10 B12 B11 Lower byte
DB0 DB15
DB8
ii) SWP = "1":
R12 R11 R10 G12 G11 G10 B12 B11 Lower byte
R02 R01 R00 G02 G01 G00 B02 B01 Upper byte
Upper byte (DB15-8) GRAM data
Lower byte (DB7-0)
Lower byte (DB7-0)
Upper byte (DB15-8)
R0 G0 B0 R1 G1 B1
LCD display Upper byte Lower byte
R1 G1 B1 R0 G0 B0
Lower byte Upper byte
Figure 32 Example of Swap Function Operation
HD66760
Write-data Mask Function
The HD66760 has a bit-wise write-data mask function that controls writing the two-byte data from the microcomputer to the GRAM. Bits that are 0 in the write-data mask register (WM15-0) cause the corresponding DB bit to be written to the GRAM. Bits that are 1 prevent writing to the corresponding GRAM bit to the GRAM; the data in the GRAM is retained. This function can be used when only one-pixel data is rewritten or the particular display color is selectively rewritten.
DB15 DB8 DB7 DB0 Data written by R02 R01 R00 G02 G01 G00 B02 B01 R12 R11 R10 G12 G11 G10 B12 B11 the microcomputer Upper byte Lower byte
DB15 i) SWP = "0":
DB8 DB7
DB0
R02 R01 R00 G02 G01 G00 B02 B01 Upper byte DB7
R12 R11 R10 G12 G11 G10 B12 B11 Lower byte
DB0 DB15
DB8
ii) SWP = "1":
R12 R11 R10 G12 G11 G10 B12 B11 Lower byte
R02 R01 R00 G02 G01 G00 B02 B01 Upper byte
WM15 Write-data mask 1 1 1 1 1 1 1
WM8 WM7 1 0 0 0 1 1 1 0
WM0 0
DB15 i) GRAM data (SWP = "0"): * * * * * * *
DB8 DB7 * R12 R11 R10 * * *
DB0 B12 B11
Upper byte
Lower byte
DB7 ii) GRAM data (SWP = "1"): * * * * * * *
DB0 DB15 * R02 R01 R00 * * *
DB8 B02 B01
Lower byte
Upper byte
Figure 33 Example of Write-data Mask Function Operation
HD66760
Logical/Compare Operation Function
The HD66760 performs a logical operation or conditional replacement between the two-byte write data sent from the microcomputer and the read data from the GRAM. The logical operation function has four types: replacement, OR, AND, and EOR. The conditional replacement performs a compare operation for the set value of the compare register (CP7-0) and the read data value from the GRAM, and rewrites only the pixel data in the GRAM that satisfies the conditions (in a byte unit). This function can be used when a particular color is selectively rewritten. The swap function or write-data mask function can be effectively used. Table 32 Logical/Compare Operation
Bit Setting LG2 0 0 0 0 1 LG1 0 0 1 1 0 LG0 0 1 0 1 0 Description of Logical/Compare Operation Function Writes the data written from the microcomputer directly to the GRAM. Only write processing is performed since the data in the read-data latch is not used. ORs the data in the read-data latch and the data written by the microcomputer. Writes the result to GRAM. Read, modify, or write processing is performed. ANDs the data in the read-data latch and the data written by the microcomputer. Writes the result to GRAM. EORs the data in the read-data latch and the data written by the microcomputer. Writes the result to GRAM. Compares the data in the read-data latch and the set value of the compare register (CP7-0). When the read data matches CP7-0, the data from the microcomputer is written to the GRAM. Only the particular color specified in the compare register can be rewritten. Read, modify, or write processing is performed. Compares the data in the read-data latch and the set value of the compare register (CP7-0). When the read data does not match CP7-0, the data from the microcomputer is written to the GRAM. Colors other than the particular one specified in the compare register can be rewritten. Read, modify, or write processing is performed. Compares the data written to the GRAM by the microcomputer and the set value of the compare register (CP7-0). When the write data matches CP7-0, the data from the microcomputer is written to the GRAM. Only write processing is performed. Compares the data written to the GRAM by the microcomputer and the set value of the compare register (CP7-0). When the write data does not match CP7-0, the data from the microcomputer is written to the GRAM. Only write processing is performed.
1
0
1
1
1
0
1
1
1
HD66760
Graphics Operation Processing
1. Write mode 1: AM = 0, LG2-0 = 000 This mode is used when the data is horizontally written at high speed. It can also be used to initialize the graphics RAM (GRAM) or to draw borders. The swap function (SWP) and write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 1 (I/D = 1) or decrements by 1 (I/D = 0), and automatically jumps to the counter edge oneraster-row below after it has reached the left or right edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "0", LG2-0 = "000", SWP = "0" 2) WM15-0 = "1F1F"H 3) AC = "000"H WM15 WM0 Write-data mask: 00 01 11 11 00 01 11 11 DB15 Write data (1): Write data (2): DB0
*Write mask for plain G and B.
10 0 110 0 10 100 00 1 1 11 00 00 1 100 00 1 100
"0000"H
10 0 * * * * * 0 10 * * * * * Write data (1)
"0001"H
11 0* * * * * 00 0* * * * * Write data (2)
"0002"H
GRAM
Note: The bits in the GRAM indicated by '*' are not changed.
Figure 34 Writing Operation of Write Mode 1
HD66760
2. Write mode 2: AM = 1, LG2-0 = 000 This mode is used when the data is vertically written at high speed. It can also be used to initialize the GRAM, develop the font pattern in the vertical direction, or draw borders. The swap function (SWP) and write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 256, and automatically jumps to the upper-right edge (I/D = 1) or upper-left edge (I/D = 0) following the I/D bit after it has reached the lower edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "1", LG2-0 = "000", SWP = "1" 2) WM15-0 = "00FF"H 3) AC = "000"H WM15 Write-data mask: WM0
00 0 000 00 11 11 1 111 DB15 DB0 Swap Swap Swap
Write data (1): Write data (2): Write data (3):
10 0 110 0 10 100 00 1 1 11 00 00 1 100 00 1 100 01 1 10 100 00 0 11 11 1
0 100 00 1 110 0 110 0 1 00 00 1 100 11 00 00 1 1 00 0 11 11 101 1 10 100
"0000"H 0 1 0 0 0 0 1 1 * * * * * * * * Write data (1) "0100"H 0 0 0 0 1 1 0 0 * * * * * * * * Write data (2) "0200"H 0 0 0 1 1 1 1 1 * * * * * * * * Write data (3)
GRAM
Notes: 1. The bit area data in the GRAM indicated by '*' is not changed. 2. After writing to address 4F00H, the AC jumps to 0001H.
Figure 35 Writing Operation of Write Mode 2
HD66760
3. Write mode 3: AM = 0, LG2-0 = 110/111 This mode is used when the data is horizontally written by comparing the write data and the set value of the compare register (CP7-0). When the result of the comparison in a byte unit satisfies the condition, the write data sent from the microcomputer is written to the GRAM. In this operation, the swap function (SWP) and write-data mask function (WM15-0) are also enabled. After writing, the address counter (AC) automatically increments by 1 (I/D = 1) or decrements by 1 (I/D = 0), and automatically jumps to the counter edge one-raster-row below after it has reached the left or right edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "0", LG2-0 = "110" (matched write), SWP = "0" 2) CP7-0 = "53H" 3) WM15-0 = "0000"H 4) AC = "000"H WM15 Write-data mask: WM0 00 00 00 00 00 00 00 00 CP7 Compare register: CP0 Compare operation (Matched) DB0 C Conditional replacement R * * * * * * * * 0 10 100 1 1 Replacement Conditional replacement C R ****************
01 0 100 1 1 DB15
Write data (1):
10 0 110 0 10 10 100 1 1
Compare operation Write data (2): 00 00 11 1 100 00 0 000
Write data (3):
Compare Conditional replacement operation 01 0 10 011 10 0 00 11 0 01 01 00 1 1 * * * * * * * * C R (Matched) Replacement
"0000"H
* * * * * * * * 0 10 10 01 1 Matched replacement of write data (1)
"0001"H
****************
"0002"H
01 010 01 1 * * * * * * * * Matched replacement of write data (2)
GRAM
Figure 36 Writing Operation of Write Mode 3
HD66760
4. Write mode 4: AM = 1, LG2-0 = 110/111 This mode is used when a vertical comparison is performed between the write data and the set value of the compare register (CP7-0) to write the data. When the result by the comparison in a byte unit satisfies the condition, the write data sent from the microcomputer is written to the GRAM. In this operation, the swap function (SWP) and write-data mask function (WM15-0) are also enabled. After writing, the address counter (AC) automatically increments by 256, and automatically jumps to the upper-right edge (I/D = 1) or upper-left edge (I/D = 0) following the I/D bit after it has reached the lower edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "1", LG2-0 = "111" (unmatched write), SWP = "0" 2) CP7-0 = "53H" 3) WM15-0 = "0000"H 4) AC = "000"H WM15 WM0 Write-data mask: 00 00 00 00 00 00 00 00 CP7 Compare register: CP0 Compare operation Conditional replacement C R 10 0 11 00 1 * * * * * * * *
01 0 100 1 1
DB15 (Unmatched) DB0 Write data (1): 1 0 0 1 1 0 0 1 0 1 0 1 0 0 1 1
(Unmatched) (Unmatched) Write data (2):
Compare operation C Compare operation C R R
Conditional replacement 0 0 0 0 1 1 1 1 0 0 0 0 0 00 0
00 00 11 1 100 00 0 000
(Unmatched) Write data (3): 01 0 10 011 10 0 00 11 0
Conditional replacement * * * * * * * * 10 00 01 1 0
"0000"H "0000"H "0080"H "0100"H
1 0 0 1 1 0 0 1 * * * * * * * * Write data (1) 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 Write data (2) * * * * * * * * 1 0 0 0 0 1 1 0 Write data (3)
"0001"H
GRAM
"4F00"H
Notes: 1. The bits in the GRAM indicated by '*' are not changed. 2. After writing to address 4F00H, the AC jumps to 0001H.
Figure 37 Writing Operation of Write Mode 4
HD66760
5. Read/Write mode 1: AM = 0, LG2-0 = 001/010/011 This mode is used when the data is horizontally written at high speed by performing a logical operation with the original data. It reads the display data (original data), which has already been written in the GRAM, performs a logical operation with the write data sent from the microcomputer, and rewrites the data to the GRAM. This mode reads the data during the same access-pulse width (68-system: enabled high level, 80-system: RD* low level) as the write operation since reading the original data does not latch the read data into the microcomputer but temporarily holds it in the read-data latch. However, the bus cycle requires the same time as the read operation. The swap function (SWP) or write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 1 (I/D = 1) or decrements by 1 (I/D = 0), and automatically jumps to the counter edge oneraster-row below after it has reached the left or right edges of the GRAM.
Operation Examples: 1) I/D = "1", AM = "0", LG2-0 = "001" (OR), SWP = "0" 2) WM15-0 = "0000"H 3) AC = "000"H WM15 Write-data mask: WM0 00 00 00 00 00 00 00 00 DB15 Read data (1): Write data (1): Read data (2): Write data (2): Read data (3): Write data (3): DB0 Logical operation (OR) 10 1 111 0 10 110 00 1 1 Logical operation (OR) 11 00 11 1 110 00 1 10 0 Logical operation (OR) 01 1 11 110 10 0 11 11 1
10 0 110 0 10 100 00 1 1 10 1 111 0 00 110 00 0 1 00 00 11 1 100 00 0 000 11 00 00 1 110 00 1 100 00 0 01 110 10 0 00 11 0 01 1 10 100 00 0 11 11 1
"0000"H
1 01 11 10 10 11 00 01 1 Read data (1) + write data (1)
"0001"H
11 00 11 1 110 00 1 100 Read data (2) + write data (2)
"0002"H
0 1 1 11 11 0 1 0 0 1 1 1 1 1 Read data (3) + write data (3)
GRAM
Figure 38 Writing Operation of Read/Write Mode 1
HD66760
6. Read/Write mode 2: AM = 1, LG1-0 = 001/010/011 This mode is used when the data is vertically written at high speed by performing a logical operation with the original data. It reads the display data (original data), which has already been written in the GRAM, performs a logical operation with the write data sent from the microcomputer, and rewrites the data to the GRAM. This mode can read the data during the same access-pulse width (68-system: enabled high level, 80-system: RD* low level) as for the write operation since the read operation of the original data does not latch the read data into the microcomputer and temporarily holds it in the read-data latch. However, the bus cycle requires the same time as the read operation. The swap function (SWP) or write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 256, and automatically jumps to the upper-right edge (I/D = 1) or upper-left edge (I/D = 0) following the I/D bit after it has reached the lower edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "1", LG2-0 = "001" (OR), SWP = "1" 2) WM15-0 = "FF00"H 3) AC = "000"H WM15 WM0 Write-data mask: 11 11 11 11 00 0 00 00 0 DB15 Read data (1): Write data (1): DB0 Swap 10 1 111 0 00 110 00 0 1 0 110 00 0 110 1 111 0 0 Logical operation (OR) 1 1 1 0 1 0 01 1 1 1 1 1 1 0 0 Read data (2): Write data (2): 00 00 11 1 100 00 0 110 Swap 11 00 00 1 110 00 1 100 10 00 1 100 11 00 00 1 1 Logical operation (OR) 1 0 0 01 1 1 1 1 1 0 0 0 1 1 1 Read data (3): Write data (3): 00 0 01 110 1 11 00 11 0 01 1 10 100 00 0 11 11 1 Swap 00 0 11 11 101 1 10 100 Logical operation (OR) 0 0 0 11 1 1 1 1 1 1 1 0 1 1 0
10 0 010 0 10 10 100 0 0
"0000"H
"0001"H
"0000"H * * * * * * * * 1 1 1 1 1 1 0 0 Read data (1) + write data (1) "0080"H * * * * * * * * 1 1 0 0 0 1 1 1 Read data (2) + write data (2) "0100"H * * * * * * * * 1 1 1 1 0 1 1 0 Read data (3) + write data (3)
GRAM
"4F00"H
Notes: 1. The bits in the GRAM indicated by '*' are not changed. 2. After writing to address 4F00H, the AC jumps to 0001H.
Figure 39 Writing Operation of Read/Write Mode 2
HD66760
7. Read/Write mode 3: AM = 0, LG2-0 = 100/101 This mode is used when the data is horizontally written by comparing the original data and the set value of compare register (CP7-0). It reads the display data (original data), which has already been written in the GRAM, compares the original data and the set value of the compare register in byte units, and writes the data sent from the microcomputer to the GRAM only when the result of the comparison satisfies the condition. This mode reads the data during the same access-pulse width (68-system: enabled high level, 80-system: RD* low level) as write operation since reading the original data does not latch the read data into the microcomputer but temporarily holds it in the read-data latch. However, the bus cycle requires the same time as the read operation. The swap function (SWP) and write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 1 (I/D = 1) or decrements by 1 (I/D = 0), and automatically jumps to the counter edge one-raster-row below after it has reached the left or right edges of the GRAM.
Operation Examples: 1) I/D = "1", AM = "0", LG2-0 = "100" (matched write), SWP = "0" 2) CP7-0 = "53H" 3) WM15-0 = "0000"H 4) AC = "000"H WM15 WM0 Write-data mask: 00 00 00 00 00 00 00 00 CP7 Compare register: CP0 Compare operation (Matched) DB0 C Conditional replacement R 10 0 11 00 10 110 00 0 1
01 0 100 1 1 DB15
Read data (1):
10 0 110 0 10 10 100 1 1
Write data (1):
10 1 111 0 00 110 00 0 1 Compare operation 00 00 11 1 100 00 0 000 C
Read data (2):
Conditional replacement Write data (2): 11 00 00 1 110 00 1 100 (Matched) Read data (3): 01 0 10 011 10 0 00 11 0 11 1 10 100 00 0 11 11 1 Compare operation C R Conditional replacement 1 1 1 1 0 1 0 0 1 0 0 0 0 11 0 R 00 00 11 1 100 00 0 000
Write data (3):
"0000"H
"0001"H
"0002"H
1 1 1 10 10 0 1 0 0 0 0 11 0 Matched replacement of write data (3)
1 00 11 00 10 11 00 00 1 00 00 11 1 100 00 0 000 Matched replacement of write data (1)
GRAM
Figure 40 Writing Operation of Read/Write Mode 3
HD66760
8. Read/Write mode 4: AM = 1, LG2-0 = 100/101 This mode is used when the data is vertically written by comparing the original data and the set value of the compare register (CP7-0). It reads the display data (original data), which has already been written in the GRAM, compares the original data and the set value of the compare register in byte units, and writes the data sent from the microcomputer to the GRAM only when the result of the compare operation satisfies the condition. This mode reads the data during the same access-pulse width (68-system: enabled high level, 80-system: RD* low level) as the write operation since reading the original data does not latch the read data into the microcomputer but temporarily holds it in the read-data latch. However, the bus cycle requires the same time as the read operation. The swap function (SWP) and write-data mask function (WM15-0) are also enabled in these operations. After writing, the address counter (AC) automatically increments by 256, and automatically jumps to the upper-right edge (I/D = 1) or upper-left edge (I/D = 0) following the I/D bit after it has reached the lower edge of the GRAM.
Operation Examples: 1) I/D = "1", AM = "1", LG2-0 = "101" (unmatched write), SWP = "0" 2) CP7-0 = "53H" 3) WM15-0 = "0000"H 4) AC = "000"H WM15 WM0 Write-data mask: 00 00 00 00 00 00 00 00 CP7 Compare register: CP0 Compare operation DB0 C Conditional replacement R 10 1 111 0 00 10 100 1 1
01 0 100 1 1 DB15 (Unmatched)
Read data (1):
10 0 110 0 10 10 100 1 1
Write data (1):
10 1 111 0 00 110 00 0 1 Compare (Unmatched) (Unmatched) operation 00 00 11 1 100 00 0 000 C
Read data (2):
Conditional replacement Write data (2): 11 00 00 1 110 00 1 100 (Unmatched) Read data (3): 01 0 10 011 10 0 00 11 0 11 1 10 100 00 0 11 11 1 Compare operation C Conditional replacement R 01 0 10 011 00 0 11 11 1 R 11 00 00 1 110 00 1 100
Write data (3):
"0000"H "0000"H 1 0 1 1 1 1 0 0 0 1 0 1 0 0 1 1 Write data (1) "0080"H 1 1 0 0 0 0 1 1 1 0 0 0 1 1 0 0 Write data (2) "0100"H 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 Write data (3)
"0001"H
GRAM
"4F00"H
Notes: 1. The bits in the GRAM indicated by '*' are not changed. 2. After writing to address 4F00H, the AC jumps to 0001H.
Figure 41 Writing Operation of Read/Write Mode 4
HD66760
Grayscale Palette
The HD66760 incorporates a grayscale palette to simultaneously display 256 of the 4,096 possible colors. The R and G grayscales consist of eight four-bit palettes, and the B grayscale consists of four four-bit palettes. The 16-stage grayscale levels can be selected from the four-bit palette data. For the display data of R and G, the three-bit data in the GRAM written from the microcomputer is used. For the display data of B, the two-bit data in the GRAM is used. In this palette, a curtailed frame grayscale system, which has low charging current in the LCD panel, is used. Although the system is the same for each color, the curtailed frame timing is adjusted between adjacent dots to reduce flickering.
Graphics RAM (GRAM) MSB LSB
Display data R2
R1
R0
G2
G1
G0
B1
B0
3 Palette R "000" RK03 RK02 RK01 RK00 "001" RK13 RK12 RK11 RK10 "010" RK23 RK22 RK21 RK20 "011" RK33 RK32 RK31 RK30 "100" RK43 RK42 RK41 RK40 "101" RK53 RK52 RK51 RK50 "110" RK63 RK62 RK61 RK60 "111" RK73 RK72 RK71 RK70 Palette G
3 Palette B
2
"000" GK03 GK02 GK01 GK00 "001" GK13 GK12 GK11 GK10 "010" GK23 GK22 GK21 GK20 "011" GK33 GK32 GK31 GK30 "100" GK43 GK42 GK41 GK40 "101" GK53 GK52 GK51 GK50 "110" GK63 GK62 GK61 GK60 "111" GK73 GK72 GK71 GK70
"00" BK03 BK02 BK01 BK00 "01" BK13 BK12 BK11 BK10 "10" BK23 BK22 BK21 BK20 "11" BK33 BK32 BK31 BK30
4
4 16-grayscale control LCD driver
4
16-grayscale control LCD driver
16-grayscale control LCD driver
R
G
LCD
B
Figure 42 Grayscale Palette Control
HD66760
Grayscale Palette Table
The grayscale register that is set for each palette register (RK, GK, or BK) can be set to any level. 16grayscale lighting levels can be set according to palette values (0000 to 1111). Table 33 Grayscale Control Level
Palette Register Value (RK, GK, or BK) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Grayscale Control Level Unlit level* 1 2/16 level 3/16 level 4/16 level 5/16 level 6/16 level 7/16 level 8/16 level 9/16 level 10/16 level 11/16 level 12/16 level 13/16 level 14/16 level 15/16 level All-lit level*2
Notes: 1. The unlit level corresponds to a black display when a normally-black color-LCD panel is used, and a white display when a normally-white color-LCD panel is used. 2. The all-lit level corresponds to a white display when a normally-black color-LCD panel is used, and a black display when a normally-white color-LCD panel is used.
HD66760
Four-color Display Mode
The HD66760 has the four-color display mode consisting of two-bit-per-pixel data. Since the byte-wise processing of four-pixel display data is enabled, the processing performance is four times that of the normal 256-color display. When the internal grayscale palette is used, four colors of the possible 4,096 colors can be displayed at the same time. The two-bit display data in the GRAM written from the microcomputer is assigned to the lower two bits of R and G; one of these bits, always 0, synthesizes the three-bit data. Therefore, this display mode uses 000, 001, 010, 011 in grayscale palettes R and G.
Graphics RAM (GRAM) MSB C1 C0 C1 C0 C1 C0 C1 LSB C0
RGB
RGB
"0"
"0"
"0"
"0"
Display data R 2
R1
R0
G2
G1
G0
B1
B0
R2
R1
R0
G2
G1
G0
B1
B0
3 Palette R "000" RK03 RK02 RK01 RK00 "001" RK13 RK12 RK11 RK10 "010" RK23 RK22 RK21 RK20 "011" RK32 RK32 RK31 RK30 Palette G
3 Palette B
2
"000" GK03 GK02 GK01 GK00 "001" GK13 GK12 GK11 GK10 "010" GK23 GK22 GK21 GK20 "011" GK33 GK32 GK31 GK30
"00" BK03 BK02 BK01 BK00 "01" BK13 BK12 BK11 BK10 "10" BK23 BK22 BK21 BK20 "11" BK33 BK32 BK31 BK30
4
4 16-grayscale control LCD driver
4
16-grayscale control LCD driver
16-grayscale control LCD driver
R
G
LCD
Figure 43 Four-color Display Control
B
HD66760
Color Window Cursor Control
A cursor is displayed in the window area specified by the cursor-start position register (CSX or CSY) and cursor-end position register (CEX or CEY). The cursor display mode can be selected from four types in table 34 by changing cursor-mode bit (CM1-0). The eight-color cursor display can be selected by the cursor-color bit (CR, CG, or CB) and displays red, blue, green, white, black or a combined color. However, the grayscale of the cursor color cannot be controlled. Table 34 Cursor Display Control
Register Setting C 0 1 1 1 CM1 * 0 0 1 CM0 * 0 1 0 Cursor Display Control Displays no cursor. Displays eight colors specified by the cursor-color bit (CR, CG, or CB) in the window area. Reverses and displays the four-bit grayscale data of each color in the window area. Alternately repeats the normal display in the window area and the eight-color display specified by the cursor-color bit (CR, CG, or CB) every 32 frame for blinking display. Alternately repeats the normal display in the window area and the reversal display of the four-bit grayscale data every 32 frame for blinking display.
1
1
1
HD66760
Graphics RAM (GRAM) MSB LSB
Display data
R2
R1
R0
G2
G1
G0
B2
B1
Palette R
Palette G
Palette B
Grayscale control R
Grayscale control G
Grayscale control B
Cursor control R
Cursor control G
Cursor control B
C CR
CM1 CM1 Cursor mode CG CB Cursor color
LCD driver
(CSX + 1, CSY + 1)
(CEX + 1, CEY + 1)
Figure 44 Color-cursor Display
HD66760
Oscillation Circuit
The HD66760 can oscillate between the OSC1 and OSC2 pins using an internal R-C oscillator with an external oscillation resistor. Note that in R-C oscillation, the oscillation frequency is changed according to the external resistance value, wiring length, or operating power-supply voltage. If Rf is increased or power supply voltage is decrease, the oscillation frequency decreases. For the relationship between Rf resistor value and oscillation frequency, see the Electric Characteristics Notes section.
OSC1 Rf OSC2 HD66760
Note: Put the Rf resistor as close as possible to the OSC1 and OSC2 pins.
Figure 45 Oscillation Circuits Table 35 Relationship between Liquid Crystal Drive Duty Ratio and Frame Frequency
LCD Duty 1/16 1/24 1/32 1/40 1/48 1/56 1/64 1/72 1/80 NL4-0 Set Value 01H 02H 03H 04H 05H 06H 07H 08H 09H Recommended Drive Bias Value 1/5 1/6 1/6 1/7 1/8 1/8 1/9 1/9.5 1/10 Frame Frequency 70 Hz 70 Hz 70 Hz 70 Hz 71 Hz 70 Hz 70 Hz 71 Hz 70 Hz One-frame Clock 2560 2560 2568 2560 2544 2576 2560 2520 2560
Note: The frame frequency above is for 180-kHz operation and proportions the oscillation frequency (fosc).
HD66760
1 V1 V2 COM1 V5 GND V1 V2 COM2 V5 GND V1 V2 COM79 V5 GND V1 V2 COM80 V5 GND 1 frame 1 frame 2 3 4 79 80 1 2 3 79 80
Figure 46 LCD Drive Output Waveform (B-pattern AC Drive with 1/80 Multiplexing Duty Ratio)
HD66760
n-raster-row Reversed AC Drive
The HD66760 supports not only the LCD reversed AC drive in a one-frame unit (B-pattern waveform) but also the n-raster-row reversed AC drive which alternates in an n-raster-row unit from one to 32 raster-rows (C-pattern waveform). When a problem affecting display quality occurs, such as crosstalk at high-duty driving of more than 1/64 duty, the n-raster-row reversed AC drive (C-pattern waveform) can improve the quality. Determine the number of raster-rows n (NW bit set value + 1) for alternating after confirmation of the display quality with the actual LCD panel. However, if the number of AC raster-rows is reduced, the LCD alternating frequency becomes high. Because of this, the charge or discharge current is increased in the LCD cells.
1 frame 1 frame
1 2 3 4 5 6 7 8 9 10 11 12 13
79 80 1 2 3 4 5 6 7 8 9 10 11 12 13
79 80 1 2 3
B-pattern waveform drive * 1/80 duty C-pattern waveform drive * 1/80 duty * 11-raster-row reversal * Without EORs C-pattern waveform drive * 1/80 duty * 11-raster-row reversal * With EORs Note: Specify the number of AC drive raster-rows and the necessity of EOR so that the DC bias is not generated for the liquid crystal.
Figure 47 Example of an AC Signal under n-raster-row Reversed AC Drive
HD66760
Liquid-crystal-display Drive-bias Selector
An optimum liquid-crystal-display bias value can be selected using the BS2-0 bits, according to the liquid crystal drive duty ratio setting (NL3-0 bits). The liquid-crystal-display drive duty ratio and bias value can be displayed while switching software applications to match the LCD panel display status. The optimum bias value calculated using the following expression is a logical optimum value. Driving by using a lower value than the optimum bias value provides lower logical contrast and lower liquid-crystal-display voltage (the potential difference between V1 and GND), which results in better image quality. When the liquid-crystaldisplay voltage is insufficient even if a six-times step-up circuit is used, when the step-up driving ability is lowered by setting a high factor for the step-up circuit, or when the output voltage is lowered because the battery life has been reached, the display can be made easier to see by lowering the liquid-crystal-display bias. The liquid crystal display can be adjusted by using the contrast adjustment register (CT6-0 bits) and selecting the step-up output level (BT1/0 bits). 1 N+1
Optimum bias value for 1/N duty ratio drive voltage =
Table 36 Optimum Drive Bias Values
LCD drive duty ratio (NL3-0 set value) Optimum drive bias value (BS2-0 set value) 1/80 1001 1/10 001 1/72 1000 1/9 010 1/64 0111 1/9 010 1/56 0110 1/8 011 1/48 0101 1/8 011 1/40 0100 1/7 100 1/32 0011 1/6 101 1/24 0010 1/6 101 1/16 0001 1/5 110
HD66760
VLCD VLCD VLCD VLCD
VR V1 R V2 R V3 6R V4 R V5 R GND GND i) 1/ 10 bias (BS2-0 = 001) VLCD
VR V1 R V2 R V3 5R V4 R V5 R GND GND ii) 1/ 9 bias (BS2-0 = 010) VLCD
VR V1 R V2 R V3 4R V4 R V5 R GND GND iii) 1/ 8 bias (BS2-0 = 011)
VR V1 R V2 R V3 3R V4 R V5 R GND GND iv) 1/7 bias (BS2-0 = 100)
VLCD VR V1 R V2 R V3 2R V4 R V5 R GND GND v) 1/6 bias (BS2-0 = 101) R R V5 GND GND vi) 1/5 bias (BS2-0 = 110) R R V4 R V5 GND GND vii) 1/ 4 bias (BS2-0 = 111) R V3 R V3, 4 R V2 R V2 VR V1 VR V1
Note: R = Reference resistor
Figure 48 Liquid Crystal Display Drive Bias Circuit
HD66760
Liquid Crystal Display Voltage Generator
When External Power Supply and Internal Operational Amplifiers are Used To supply LCD drive voltage directly from the external power supply without using the internal step-up circuit, circuits should be connected as shown in figure 49. Here, contrast can be adjusted by software through the CT bits of the contrast adjustment register. Minimize the voltage variation since the VLREF input is a reference voltage that determines the LCD drive voltage. The HD66760 incorporates a voltage-follower operational amplifier for each V1 to V5 to reduce current flowing through the internal bleeder-resistors, which generate different levels of liquid-crystal drive voltages. Thus, potential difference between V LPS and V1 must be 0.1 V or higher, and that between V4 and GND must be 1.4 V or higher. Note that the OPOFF pin must be grounded when using the operational amplifiers. Place a capacitor of about 1 F (B characteristics) between each internal operational amplifier (V1OUT to V5OUT outputs) and GND and stabilize the output level of the operational amplifier. Adjust the capacitance value of the stabilized capacitor after the LCD panel has been mounted and the screen quality has been confirmed.
HD66760
VLPS
VLREF 0.1 (B characteristics) F*2
(+)
PS = "11"
HD66760
+ -
V1OUT VR R V2OUT R V3OUT R0 V4OUT
V1
+ -
V2
SEG1 to SEG312
+ -
V3 LCD driver
+ -
V4
COM1 to COM80
1 F*2 (B characteristics)
R V5OUT GND Vci C1+ C1- C2+ C2- C3+ C3- C4+ C4- C5+ C5- C6+ C6- VLOUT R GND
+ -
V5
GND
Step-up circuit
Notes: 1. Adjust the capacitance value of the capacitor after the LCD panel has been mounted. 2. Use the capacitors with breakdown voltages equal to or higher than the VLCD (= VLPS- GND) voltage for connecting to VLPS and V1OUT through V5OUT. Determine the capacitor breakdown voltages by checking VLCD voltage fluctuation.
Figure 49 External Power Supply Circuit for LCD Drive Voltage Generation
HD66760
When an Internal Booster and Internal Operational Amplifiers are Used To supply LCD drive voltage using the internal VLCD regulator and step-up circuit, an internal booster and internal operational amplifiers should be connected as shown in figure 50. Keep the power-supply voltage (VLPS) of the operational amplifier higher than the output voltage (V1REF) of the VLCD regulator. Contrast can be adjusted through the CT bits of the contrast control instruction. The HD66760 incorporates a voltage-follower operational amplifier for each of V1 to V5 to reduce current flowing through the internal bleeder-resistors, which generate different liquid-crystal drive voltages. Thus, potential difference between VLPS and V1 must be 0.1 V or higher, and that between V4 and GND must be 1.4 V or higher. Note that the OPOFF pin must be grounded when using the operational amplifiers. Place a capacitor of about 1 F (B characteristics) between each internal operational amplifier (V1OUT to V5OUT outputs) and GND and stabilize the output level of the operational amplifier. Adjust the capacitance value of the stabilized capacitor after the LCD panel has been mounted and the screen quality has been confirmed.
HD66760
VLOUT
HD66760
PS = "00" or PS = "01"
C6+
)+(
1F
*7
C6C5+
)+(
(B characteristics)
1F
*7
C5C4+
)+(
(B characteristics)
Vci 1/2 Vci Voltage Dividing VLCD Regulator V1REF 0.1F *5
(B characteristics)
Step-up Circuit
1F
*7
C4C3+
)+(
(B characteristics)
1F
*7
C3C2+
)+(
(B characteristics)
VREG
1F
*7
C2C1+
)+(
(B characteristics)
1F
*7
VLREF
*10
GND
C1VLPS
(B characteristics)
VR V1OUT V2OUT R V3OUT R0 V4OUT R V5OUT V5 R GND V4 COM1 to COM80 V3 LCD Driver
VLREF regulator
(+)
1F
GND
*8,9
(B characteristics)
V1 R V2 SEG1 to SEG312
GND
1F
*5,8,9
(B characteristics)
GND
Notes: 1. The reference voltage input (Vci) must be adjusted so that the output voltage after boosting will not exceed the absolute maximum rating for the liquid-crystal power supply voltage (16.5 V). 2. Vci is both a reference voltage and power supply for the step-up circuit; the sufficient current must be obtained. 3. Polarized capacitors must be connected correctly. 4. Circuits for temperature compensation should be based on the sample circuits in figures 51 and 52. 5. Adjust the capacitance value of the stabilized capacitor after the LCD panel has been mounted. 6. The breakdown voltages of the capacitors connected to C3+/C3- and C6+/C6- should be three times or higher than the Vci voltage. 7. The breakdown voltages of the capacitors connected to C1+/C1-, C2+/C2-, C4+/C4-, and C5+/C5should be equal to or higher than the Vci voltage. 8. The breakdown voltages of the capacitors connected to VLOUT and V1OUT through V5OUT should be n times or higher than the Vci voltage (n: step-up magnification). 9. Determine the breakdown voltages of the capacitors used in 6 to 8 above by checking Vci voltage fluctuation. 10. VLREF regulator is not used when PS = "00". VLREF regulator is used when PS = "01".
Figure 50 Internal Step-up Circuit for LCD Drive Voltage Generation
HD66760
Temperature can be compensated either through the CT bits, by controlling the reference input voltage for the VLCD regulator (VREG pin) using a thermistor, or by controlling the reference output voltage of the VLCD regulator (V1REF pin).
Vcc
VRaj Ra Rth
Thermistor
Vci 1/2 Vci Voltage Dividing VLCD Regulator V1REF 0.1F
(B characteristics)
HD66760
PS = "10"
Tr
Rb
VREG
GND
VLREF
GND
VLPS VR
VLREF regulator
V1OUT V2OUT
V1 R V2 R SEG1 to SEG312 V3 R0 LCD Driver V4 R V5 R GND COM1 to COM80
V3OUT V4OUT V5OUT GND
Figure 51 Temperature Compensation Circuits (1)
Vci 1/2 Vci Voltage Dividing VLCD Regulator V1REF 0.1F VRaj Ra Rth
Thermistor
(B characteristics)
HD66760
PS = "01"
VREG
Tr
Rb
GND
VLREF VR V1OUT V2OUT
VLREF regulator
VLPS V1 R V2 R SEG1 to SEG312 V3 R0 LCD Driver V4 R V5 R GND COM1 to COM80
Vcc or GND
V3OUT V4OUT V5OUT GND
Figure 52 Temperature Compensation Circuits (2)
HD66760
Switching the Step-up Factor Instruction bits (BT1/0 bits) can optionally select the step-up factor of the internal step-up circuit. According to the display status, power consumption can be reduced by changing the LCD drive duty and the LCD drive bias, and by controlling the step-up factor for the minimum requirements. For details, see the Partial-displayon Function section. According to the maximum step-up factor, external capacitors need to be connected. For example, when the maximum step-up is five times, capacitors between C6+ and C6- or between C5+ and C5- are needed as in the case of the six-times step-up. Place a capacitor with a breakdown voltage of three times or more the Vci-GND voltage between C6+ and C6- and between C3+ and C3-, a capacitor with a breakdown voltage larger than the Vci-GND voltage between C1+ and C1-, C2+ and C2-, C4+ and C4-, and C5+ and C5-, and a capacitor with a breakdown voltage of n times or more the Vci-GND voltage to VLOUT (n: step-up factor) (see figure 53). Note: Determine the capacitor breakdown voltages by checking Vci voltage fluctuation. Table 37 VLOUT Output Status
BT1 0 0 1 1 BT0 0 1 0 1 VLOUT Output Status Three-times step-up output Four-times step-up output Five-times step-up output Six-times step-up output
HD66760
Maximum six-, five-, four-, and three-times step-up Vci
1 F
(+)
(B Characteristics)
Vci C1+ C1- C2+ C2- C3+ C3- C4+ C4- C5+ C5- C6+ C6-
(+)
1 F (+)
(B Characteristics)
1 F 1 F
(+)
(B Characteristics)
(+)
(B Characteristics)
1 F (+)
(B Characteristics)
1 F
(+)
(B Characteristics)
1 F
(B Characteristics)
VLOUT
GND
Figure 53 Step-up Circuit Output Factor Switching
HD66760
Example of Power-supply Voltage Generator for More Than Seven-times Step-up Output The HD66760 incorporates a step-up circuit for up to six-times step-up. However, the LCD drive voltage (VLCD) will not be enough for six-times step-up from Vcc when the power-supply voltage of Vcc is low or when the LCD drive voltage is high for the high-contrast LCD display. In this case, the reference voltage (Vci) for step-up can be set higher than the power-supply voltage of Vcc. Set the Vci input voltage for the step-up circuit to 3.6 V or less within the range of Vcc + 1.0 V. Control the Vci voltage so that the step-up output voltage (VLOUT) should be less than the absolute maximum ratings (16.5 V).
HD66760
Regulator (1) Battery 3.6 V Regulator (2)
2.0 V
Vcc
Logic circuit
C1+ 2.2 V Vci C1 - C2+ C2 - C3+ GND Step-up circuit C3 - C4+
VLCD (= 15.4 V) (VLPS-GND) 2.2 V x 7 = 15.4 V VLOUT
C4 - C5+ C5 - C6+ C6 - GND 1 F (B Characteristics) (+)
(+) 1 F (B Characteristics) (+) 1 F (B Characteristics) (+) 1 F (B Characteristics) (+) 1 F (B Characteristics) (+) 1 F (B Characteristics) (+) 1 F (B Characteristics) SEG1 to SEG312 COM1 to COM80
VLPS
Operational amplifier GND
Vci (= 2.2 V) Vcc (= 2.0 V) GND (= 0 V) Note: In practice, the LCD drive current lowers the voltage in the step-up output voltage. V 1OUT Vci or Vci
GND
Figure 54 Usage Example of Step-up Circuit at Vci > Vcc
HD66760
Restrictions on the 1st/2nd Screen Driving Position Register Settings
The following restrictions must be satisfied when setting the start line (SS16-10) and end line (SE16-10) of the 1st screen driving position register (R14h) and the start line (SS26-20) and end line (SE26-20) of the 2nd screen driving position register (R15h) for the HD66760. Note that incorrect display may occur if the restrictions are not satisfied. Table 38 Restrictions on the 1st/2nd Screen Driving Position Register Settings
1st Screen Driving (STP = 0) Register setting Display operation SS16-10 SE16-0 4FH * Time-sharing driving for COM pins (SS1+1) to (SE1+1) * Non-selection level driving for others 2nd Screen Driving (STP = 1) SS16-10 SE16-10 < SS26-20 SE26-20 4FH * Time-sharing driving for COM pins (SS1+1) to (SE1+1) and (SS2+1) to (SE2+1) * Non-selection level driving for others
Notes: 1. When the total line count in screen division driving settings is less than the duty setting, nonselection level driving is performed without the screen division driving setting range. 2. When the total line count in screen division driving settings is larger than the duty setting, the start line, the duty-setting line, and the lines between them are displayed and non-selection level driving is performed for other lines. 3. For the 1st screen driving, the SS26-20 and SE26-20 settings are ignored.
HD66760
Sleep Mode
Setting the sleep mode bit (SLP) to 1 puts the HD66760 in the sleep mode, where the device stops all internal display operations, thus reducing current consumption. Specifically, LCD operation is completely halted. Here, all the SEG (SEG1 to SEG312) and COM (COM1 to COM80) pins output the GND level, resulting in no display. If the AP1-0 bits in the power control register are set to 00 in the sleep mode, the LCD drive power supply can be turned off, reducing the total current consumption of the LCD module. Table 39 Comparison of Sleep Mode and Standby Mode
Function LCD control R-C oscillation circuit Sleep Mode (SLP = 1) Turned off Operates normally Standby Mode (STB = 1) Turned off Operation stopped
HD66760
Standby Mode
Setting the standby mode bit (STB) to 1 puts the HD66760 in the standby mode, where the device stops completely, halting all internal operations including the R-C oscillation circuit, thus further reducing current consumption compared to that in the sleep mode. Specifically, all the SEG (SEG1 to SEG312) and COM (COM1 to COM80) pins for the time-sharing drive output the GND level, resulting in no display. If the AP1- 0 bits are set to 00 in the standby mode, the LCD drive power supply can be turned off. During the standby mode, no instructions can be accepted other than the start-oscillation instruction. To cancel the standby mode, issue the start-oscillation instruction to stabilize R-C oscillation before setting the STB bit to 0.
Turn off the display: D1 to 0 = 01 Turn off the LCD power supply: AP1 to 0 = 00 Set standby mode: STB = 1
Standby mode
Issue the start-oscillation instruction Wait at least 5 ms Cancel standby mode: STB = 0 Turn on the LCD power supply: AP1 to 0 = 01/10/11 Wait at least 150 ms Turn on the display: D1 to 0 = 11
Figure 55 Procedure for Setting and Canceling Standby Mode
HD66760
Power-on/off Sequence
To prevent pulse lighting of LCD screens at power-on/off, the power-on/off sequence is activated as shown below. However, since the sequence depends on LCD materials to be used, confirm the conditions by using your own system. Power-on Sequence
Turn on power voltages Vcc and Vci, RESET = "Low"
Wait for 200 s or longer (power-on time)
Wait for 5 ms or longer (oscillation stabilization time)
Issue LCD power instruction
Issue use-state instruction
Wait for 10-150 ms or longer (op-amplifier output stabilization time)
Turned on display: D1-0 = 11 Note: Depends on the external capacitance of V1OUT to V5OUT.
Figure 56 Power-on Sequence
HD66760
Vcc Power voltage: Vcc GND
0.9 Vcc
Power-on reset time: 200 us
Vcc RESET GND
0.9 Vcc
Oscillation state
Oscillation stabilization time: 5 ms Signal-input instruction issued Vcc GND
Note: R-C oscillation starts by power-on and input reset. The standby mode is cleared by input reset.
Figure 57 Power-on Timing
HD66760
Power-off Sequence
Normal state Turn off display: D1-0 = 00
Issue LCD power instruction
Turn off power voltages Vcc and Vci
To the power-on sequence
Emergency case Turn off power voltages Vcc and Vci
RESET = "Low"
Driver SEG/COM output: GND
To the power-on sequence
Figure 58 Power-off Sequence
Vcc Power voltage: Vcc GND
Power is turned off.
Vcc RESET GND
RESET is input as soon as possible.
V1OUT Driver SEG/ COM output GND
Note: When hardware reset is input during the power-off period, the D bit is cleared to 0 and SEG/COM output is forcibly lowered to the GND level.
Figure 59 Power-off Timing
HD66760
Absolute Maximum Ratings
Item Power supply voltage (1) Power supply voltage (2) Input voltage Operating temperature Storage temperature Symbol VCC VLCD - GND Vt Topr Tstg Unit V V V C C Value -0.3 to +4.6 -0.3 to +16.5 -0.3 to VCC + 0.3 -40 to +85 -55 to +110 Notes* 1, 2 1, 3 1 1, 4 1, 5
Notes: 1. If the LSI is used above these absolute maximum ratings, it may become permanently damaged. Using the LSI within the following electrical characteristics limits is strongly recommended for normal operation. If these electrical characteristic conditions are also exceeded, the LSI will malfunction and cause poor reliability. 2. VCC GND must be maintained. 3. VLCD GND must be maintained. 4. For die and wafer products, specified up to 85C. 5. This temperature specifications apply to the TCP package.
HD66760
DC Characteristics (VCC = 2.2 to 3.6 V, Ta = -40 to +85C*1 )
Item Input high voltage Symbol Min VIH 0.7 VCC -0.3 -0.3 Typ -- -- -- Max VCC Unit Test Condition V VCC = 2.2 to 3.6 V VCC = 2.2 to 3.6 V VCC = 2.2 to 3.6 V Notes 2, 3 2, 3 2, 3
Input low voltage (1) VIL1 (Except I 2C bus I/F pins) Input low voltage (2) VIL2 (SDA and SCL : I2C bus interface pins) Output high voltage (1) (DB0-15 pins, SDA : Clock synchronized serial I/F) Output low voltage (1) (DB0-15 pins) VOH1
0.15 VCC V 0.3 VCC V
0.75 VCC --
--
V
I OH = -0.1 mA
2
VOL1
-- --
-- -- -- -- 3 3 -- 130
0.2 VCC
V
VCC = 2.2 to 2.4 V, I OL = 0.1 mA VCC = 2.4 to 3.6 V, IOL = 0.1 mA I OL = 0.4 mA I OL = 3 mA Id = 0.05 mA, VLCD = 10 V Id = 0.05 mA, VLCD = 10 V Vin = 0 to V CC
2 2 2 2 4 4 5
0.15 VCC V 0.2 VCC 0.4 10 10 1 180 V V k k A A
Output low voltage (2) (SDA : I 2C bus I/F) Output low voltage (3) (SDA : I 2C bus I/F) Driver ON resistance (COM pins) Driver ON resistance (SEG pins) I/O leakage current
VOL2 VOL3 RCOM RSEG I Li
-- -- -- -- -1 --
Current consumption I OP during normal operation (VCC - GND) Current consumption during standby mode (VCC - GND) I ST
6, 7 CR oscillation, VCC = 3.0 V, Ta = 25C, fOSC = 180 kHz (1/80 duty), display all 1 VCC = 3 V, Ta = 25C 6, 7
--
0.2
5
A
LCD drive power supply I LCD current (VLPS - GND)
--
27
60
A
VCC = 3.0 V, VLCD = 15 V, 7 1/10 bias, CR oscillation, fOSC = 180 kHz (1/80 duty), AP1-0 = "01", Ta = 25C, display all 1
Note: For the numbered notes, refer to the Electrical Characteristics Notes section following these tables.
HD66760
DC Characteristics (cont) (VCC = 2.2 to 3.6 V, Ta = -40 to +85C*1 )
Item LCD drive voltage (VLPS - GND) VREG input voltage (VREG pin) V1REF output voltage (V1REF pin) Symbol Min VLCD VREG 5.0 -- Typ -- 1.3 Max 15.5 2.5 Unit Test Condition V V VREG external input (PS1-0 = "10"), Ta = 25C VREG = 1.3 V, Ta = 25C, 10 times VREG (VR2-0 = "110") V1REF VLPS - 0.5V Notes 8
V1REF
--
13.0
--
V
LCD output voltage range (1)
V1OUT V2OUT V2OUT V4OUT V5OUT
VLPS/2 - 0.5
--
VLPS - 0.5 V
V
LCD output voltage range (2)
0.5
--
VLPS/2
V
Step-up Circuit Characteristics
Item Three-times step-up output voltage (VLOUT pin) Four-times stepup output voltage (VLOUT pin) Five-times stepup output voltage (VLOUT pin) Six-times stepup output voltage (VLOUT pin) Use range of step-up output voltages Symbol V UP3 Min 7.6 Typ 7.9 Max 8.1 Unit V Test Condition VCC = Vci = 2.7 V, I O = 30 A, C = 1 F, f OSC = 180 kHz, Ta = 25C VCC = Vci = 2.7 V, I O = 30 A, C = 1 F, f OSC = 180 kHz, Ta = 25C VCC = Vci = 2.7 V, I O = 30 A, C = 1 F, f OSC = 180 kHz, Ta = 25C VCC = Vci = 2.5 V, I O = 30 A, C = 1 F, f OSC = 180 kHz, Ta = 25C For three- to six-times step-up Notes 11
V UP4
10.3
10.6
10.8
V
11
V UP5
13.0
13.3
13.5
V
11
V UP6
14.2
14.7
15.0
V
11
V UP3 V UP4 V UP5 V UP6
VCC
--
15.5
V
11
Note: For the numbered notes, refer to the Electrical Characteristics Notes section following these tables.
HD66760
AC Characteristics (VCC = 2.2 to 3.6 V, Ta = -40 to +85C*1 )
Clock Characteristics (V CC = 2.2 to 3.6 V)
Item External clock frequency External clock duty ratio External clock rise time External clock fall time R-C oscillation clock Symbol fcp Duty trcp tfcp f OSC Min 120 45 -- -- 144 Typ 180 50 -- -- 180 Max 240 55 0.2 0.2 216 Unit kHz % s s kHz Rf = 200 k, VCC = 3 V Test Condition Notes 9 9 9 9 10
Note: For the numbered notes, refer to the Electrical Characteristics Notes section following these tables.
HD66760
68-system Bus Interface Timing Characteristics (Vcc = 2.2 to 2.4 V)
Item Enable cycle time Symbol Min Write t CYCE Read t CYCE Enable high-level pulse width Write PWEH Read PWEH Enable low-level pulse width Write PWEL Read PWEL Enable rise/fall time Setup time (RS, R/W to E, CS*) Address hold time Write data setup time Write data hold time Read data delay time Read data hold time t Er, t Ef t ASE t AHE t DSWE t HE t DDRE t DHRE 600 800 120 350 300 400 -- 10 20 60 20 -- 5 Typ -- -- -- -- -- -- -- -- -- -- -- -- -- Max -- -- -- -- -- -- 25 -- -- -- -- 300 -- ns ns ns ns ns ns ns Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 ns Figure 67 ns Figure 67 Unit ns Test Condition Figure 67
(Vcc = 2.4 to 3.6 V)
Item Enable cycle time Symbol Min Write t CYCE Read t CYCE Enable high-level pulse width Write PWEH Read PWEH Enable low-level pulse width Write PWEL Read PWEL Enable rise/fall time Setup time (RS, R/W to E, CS*) Address hold time Write data setup time Write data hold time Read data delay time Read data hold time t Er, t Ef t ASE t AHE t DSWE t HE t DDRE t DHRE 300 500 70 250 100 200 -- 10 5 60 15 -- 5 Typ -- -- -- -- -- -- -- -- -- -- -- -- -- Max -- -- -- -- -- -- 25 -- -- -- -- 200 -- ns ns ns ns ns ns ns Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 Figure 67 ns Figure 67 ns Figure 67 Unit ns Test Condition Figure 67
HD66760
80-system Bus Interface Timing Characteristics (Vcc = 2.2 to 2.4 V)
Item Bus cycle time Symbol Min Write t CYCW Read t CYCR Write low-level pulse width Read low-level pulse width Write high-level pulse width Read high-level pulse width Write/Read rise/fall time Setup time (RS to CS*, WR*, RD*) Address hold time Write data setup time Write data hold time Read data delay time Read data hold time PWLW PWLR PWHW PWHR t WRr , t AS t AH t DSW t HWR t DDR t DHR
WRf
Typ -- -- -- -- -- -- -- -- -- -- -- -- --
Max -- -- -- -- -- -- 25 -- -- -- -- 300 --
Unit ns ns ns ns ns ns ns ns ns ns ns ns ns
Test Condition Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68
600 800 120 350 300 400 -- 10 20 60 20 -- 5
(Vcc = 2.4 to 3.6 V)
Item Bus cycle time Symbol Min Write t CYCW Read t CYCR Write low-level pulse width Read low-level pulse width Write high-level pulse width Read high-level pulse width Write/Read rise/fall time Setup time (RS to CS*, WR*, RD*) Address hold time Write data setup time Write data hold time Read data delay time Read data hold time PWLW PWLR PWHW PWHR t WRr, WRf t AS t AH t DSW t HWR t DDR t DHR 300 500 70 250 100 200 -- 10 5 60 15 -- 5 Typ -- -- -- -- -- -- -- -- -- -- -- -- -- Max -- -- -- -- -- -- 25 -- -- -- -- 200 -- Unit ns ns ns ns ns ns ns ns ns ns ns ns ns Test Condition Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68 Figure 68
HD66760
Clock Synchronized Serial Interface Timing Characteristics (Vcc = 2.2 to 3.6 V)
Item Serial clock cycle time Symbol Min t SCYC 142 330 Serial clock high-level pulse width t SCH 50 130 Serial clock low-level pulse width t SCL 50 130 Serial clock rise/fall time CS* Setup time t SCr , tSCf -- t CSU 20 60 CS* hold time t CH 100 60 Serial input data setup time Serial input data hold time Serial output data delay time Serial output data hold time t SISU t SIH t SOD t SOH 40 40 -- 0 Typ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Max -- -- -- -- -- -- 25 -- -- -- -- -- -- 130 -- Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns Test Condition Figure 70 Figure 71 Figure 70 Figure 71 Figure 70 Figure 71 Figure 70, 71 Figure 70 Figure 71 Figure 70 Figure 71 Figure 70 Figure 70 Figure 71 Figure 71
I2C Bus Interface Timing Characteristics (Vcc = 2.2 to 3.6 V)
Item SCL clock frequency SCL clock high-level pulse width SCL clock low-level pulse width SCL/SDA rise time SCL/SDA fall time Bus free time Start condition hold time Setup time for a repeated START condition Setup time for STOP condition SDA data setup time SDA data hold time SCL/SDA spike pulse width Symbol Min f SCL t SCLH t SCLL t Sr t Sf t BUF t STAH t STAS t STOS t SDAS t SDAH t SP 0 120 240 10 10 240 320 320 320 40 0 0 Typ -- -- -- -- -- -- -- -- -- -- -- -- Max 1300 -- -- 160 70 -- -- -- -- -- -- 10 Unit kHz ns ns ns ns ns ns ns ns ns ns ns Test Condition Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72 Figure 72
HD66760
Reset Timing Characteristics (VCC = 2.2 to 3.6 V)
Item Reset low-level width Symbol t RES Min 200 Typ -- Max -- Unit s Test Condition Figure 69
HD66760
Electrical Characteristics Notes
1. For bare die and wafer products, specified up to 85C. 2. The following three circuits are I/O pin configurations (figure 60).
Pins: RESET*, CS*, E/WR/SCL, RS, OSC1, OPOFF, IM2-0, TEST, VSW1, VSW2 Vcc PMOS NMOS Vcc PMOS NMOS Pin: OSC2
GND
GND
Pins: DB15 to DB0
Vcc PMOS (Input circuit) NMOS Vcc PMOS (Tri-state output circuit) Output enable Output data
NMOS
GND
Pins: RW/RD*/SDA
Vcc PMOS (Input circuit) NMOS Vcc PMOS (Tri-state output circuit) IM2 IM1 Output data NMOS
GND
Figure 60 I/O Pin Configuration
HD66760
3. The TEST, VSW1, and VSW2 pins must be grounded and the IM2-0 and OPOFF pins must be grounded or connected to Vcc. 4. Applies to the resistor value (RCOM) between power supply pins V1OUT, V2OUT, V5OUT, GND and common signal pins, and resistor value (RSEG) between power supply pins V1OUT, V3OUT, V4OUT, GND and segment signal pins. 5. This excludes the current flowing through output drive MOSs. 6. This excludes the current flowing through the input/output units. The input level must be fixed high or low because through current increases if the CMOS input is left floating. Even if the CS pin is low or high when an access with the interface pin is not performed, current consumption does not change. 7. The following shows the relationship between the operation frequency (fosc) and current consumption (Icc) (figure 61).
Vcc = 3 V 400 300
ILCD (A) Iop (A)
40 30 20
Vcc = 3 V, fosc = 173 kHz
200
100 0 100 150
10 0 8.0
200
250
300
350
10.0
12.0
14.0
R-C oscillation frequencies: fosc (kHz)
LCD drive voltage: VLCD (V)
Figure 61 Relationship between the Operation Frequency and Current Consumption 8. Each COM and SEG output voltage is within A}0.15 V of the LCD voltage (Vcc, V1, V2, V3, V4, V5) when there is no load. 9. Applies to the external clock input (figure 62).
Th 2 k Oscillator Open OSC1 OSC2 0.7Vcc 0.5Vcc 0.3Vcc t rcp t fcp Duty = Th Th + Tl x 100% Tl
Figure 62 External Clock Supply
HD66760
10. Applies to the internal oscillator operations using external oscillation resistor Rf (figure 63 and table 40).
OSC1 Rf OSC2 Since the oscillation frequency varies depending on the OSC1 and OSC2 pin capacitance, the wiring length to these pins should be minimized.
Figure 63 Internal Oscillation Table 40 External Resistance Value and R-C Oscillation Frequency (Referential Data)
External Resistance (Rf) 91 k 110 k 130 k 160 k 200 k 240 k 330 k 470 k R-C Oscillation Frequency: fosc (kHz) Vcc = 2.2 V 283 243 212 180 151 131 101 76 Vcc = 3.0 V 337 287 249 209 173 148 113 84 Vcc = 3.6 V 359 304 263 220 181 155 117 86
11. The step-up characteristics test circuit is shown in figure 64.
(3 to 6-times step-up)
Vcc
Vci C1+ C1- C2+ C2- C3+ C3- C4+ C4- C5+ C5- C6+ C6-
+ + + + + +
1 F 1 F 1 F 1 F 1 F 1 F
GND
VLOUT VLCD
+
1 F
Figure 64 Step-up Characteristics Test Circuit
HD66760
Referential data VUP3 = VLCD - GND (x3 times boost), VUP4 = VLCD - GND (x4 times boost) VUP5 = VLCD - GND (x5 times boost), VUP6 = VLCD - GND (x6 times boost) (i) Relation between the obtained voltage and input voltage Three-times step-up 16.0 typ. 16.0 Four-times step-up typ.
VUP3 (V)
12.0 8.0 4.0 2.0
VUP4 (V)
2.5
12.0 8.0 4.0 2.0
3.0 3.5 Vci (V) Vci = Vcc, fosc = 180 kHz, Ta = 25C, DC1/0 = 11 Five-times step-up 16.0 typ.
3.0 3.5 Vci (V) Vci = Vcc, fosc = 180 kHz, Ta = 25C, DC1/0 = 11 Six-times step-up 16.0 typ.
2.5
VUP5 (V)
VUP6 (V)
12.0 10.0 4.0 2.0
12.0 10.0 4.0 2.0
3.0 3.5 Vci (V) Vci = Vcc, fosc = 180 kHz, Ta = 25C, DC1/0 = 11
2.5
3.0 3.5 Vci (V) Vci = Vcc, fosc = 180 kHz, Ta = 25C, DC1/0 = 11
2.5
Figure 65 Step-up
HD66760
(ii) Relation between the obtained voltage and temperature Three-times step-up 8.50 Typ. 11.00 typ. Four-times step-up
VUP3 (V)
VUP4 (V)
-20 0 20 60 100
8.25 8.00 7.75 7.50 -60
10.75 10.50 10.25 -20 0 20 60 100 Ta (C) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11 Six-times step-up 15.25 10.00 -60
Ta (C) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11 Five-times step-up 13.75 typ. 13.50
15.00
VUP5 (V)
13.25 13.00 12.75 -60
VUP6 (V)
typ.
14.75 14.50 14.25 -60
-20 0 20 60 100 Ta (C) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11
-20 0 20 60 100 Ta (C) Vci = 2.5 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11
Figure 65 Step-up (cont)
HD66760
(iii) Relation between the obtained voltage and capacity Three-times step-up 9.0 typ. 11.5 typ. Four-times step-up
VUP3 (V)
8.0 7.5 7.0 0.5 1.0 1.5
VUP4 (V)
8.5
11.0 10.5 10.0 1.0 1.5 C (F) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11 Six-times step-up 16.0 typ. 9.5 0.5
C (F) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11 Five-times step-up 14.0 typ.
VUP5 (V)
VUP6 (V)
13.5 13.0 12.5 12.0 0.5 1.0 1.5
15.5 15.0 14.5 14.0 0.5 1.0 1.5
C (F) Vci = 2.7 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11
C (F) Vci = 2.5 V, fosc = 180 kHz, Io = 30 A, DC1/0 = 11
Figure 65 Step-up (cont)
HD66760
(iv) Relation between the obtained voltage and current Three-times step-up 8.15 8.10 typ. 10.85 10.80 typ. Four-times step-up
VUP3 (V)
VUP4 (V)
8.05 8.00 7.95 7.90 7.85 0 10 20 30 40 50
10.75 10.70 10.65 10.60 20 30 40 50 Io (A) Vci = 2.7 V, fosc = 180 kHz, Ta = 25C, DC1/0 = 11 Six-times step-up 15.00 14.95 typ. 10.55 0 10
Io (A) Vci = 2.7 V, fosc = 180 kHz, Ta = 25C, DC1/0 = 11 Five-times step-up 13.50 13.45
VUP5 (V)
13.40 13.35 13.30 13.25 13.20 0 10 20 30 40 50
VUP6 (V)
typ.
14.90 14.85 14.80 14.75 14.70 0 10 20 30 40 50 Io (A) Vci = 2.5 V, fosc = 180 kHz, Ta = 25C, DC1/0 = 11
Io (A) Vci = 2.7 V, fosc = 180 kHz, Ta = 25C, DC1/0 = 11
Figure 65 Step-up (cont)
Load Circuits
AC Characteristics Test Load Circuits
Data bus: DB15 to DB0, SDA Test Point
50 pF
Figure 66 Load Circuit
HD66760
Timing Characteristics
68-system Bus Operation
RS R/W
VIH VIL1 tASE tAHE
VIH VIL1
CS*
VIL1 *1 PWEH
VIL1 PWEL VIH VIL1 tEf tCYCE VIL1
E
VIH VIL1 tEr
*2 DB0 to DB15 *2 DB0 to DB15 tDDRE
tDSWE VIH VIL1 Write data
tHE VIH VIL1 tDHRE
VOH1 VOL1
Read data
VOH1 VOL1
Note: 1. PWEH is specified in the overlapped period when CS* is low and E is high. 2. Parallel data transfer is enabled on the DB15-8 pins when the 8-bit bus interface is used. Fix tje DB7-0 pins to Vcc or GND.
Figure 67 68-system Bus Timing
HD66760
80-system Bus Operation
RS
VIH VIL1 tAS tAH VIH VIL1 *1 PWLW, PWLR
VIH VIL1
CS*
PWHW, PWHR VIH tWRf
WR* RD*
VIH VIL1 tWRr
VIH VIL1 tCYCW, tCYCR tDSW tHWR Write data VIH VIL1 tDHR VOH1 VOL1 Read data VOH1 VOL1
*2 DB0 to DB15 tDDR *2 DB0 to DB15
VIH VIL1
Note: 1. PWLW and PWLR are specified in the overlapped period when CS* is low and WR* or RD* is low. 2. Parallel data transfer is enabled on the DB15-8 pins when the 8-bit bus interface is used. Fix tje DB7-0 pins to Vcc or GND.
Figure 68 80-system Bus Timing Reset Operation
tRES
RESET*
VIL1
VIL1
Figure 69 Reset Timing
HD66760
Clock Synchronized Serial Interface Operation
Start : S
End : P
CS*
VIL1 tSCYC tscf tSCL
VIL1
tCSU VIH SCL
tscr
tSCH VIH VIH
tCH VIH
VIL1 tSISU VIH tSIH
VIL1 VIL1
SDA
Valid data
VIH VIL1
Valid data
VIL1
Figure 70 Clock Synchronized Serial Interface Input Timing
Start : S
End : P VIH
CS* VIL1 tSCYC tscf tSCH VIH VIH VIL1 tSOD SDA VOH1 Output data VOL2 Output data VOL2 VIL1 VIL1 tSOH VOH1 tSCL tCH VIH VIL1
tCSU SCL VIH VIL1
tscr
Figure 71 Clock Synchronized Serial Interface Output Timing
HD66760
I2C Bus Interface Operation
Stop : P Start : S Repeated Start : Sr Stop : P
VIH SDA tBUF
VIH VIL2
VIH VIL2 tSDAH tSCL
VIH tSDAS
VIH VIL2
VIL2 tSP
tSTAH SCL VIH VIL2 tSf tSCLL
tSCLH
tSTAS VIH VIH
tSTOS
tSr
Figure 72 I2C Bus Interface Timing
HD66760
Cautions
1. Hitachi neither warrants nor grants licenses of any rights of Hitachi's or any third party's patent, copyright, trademark, or other intellectual property rights for information contained in this document. Hitachi bears no responsibility for problems that may arise with third party's rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice. Confirm that you have received the latest product standards or specifications before final design, purchase or use. 3. Hitachi makes every attempt to ensure that its products are of high quality and reliability. However, contact Hitachi's sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support. 4. Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics. Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. Even within the guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as fail-safes, so that the equipment incorporating Hitachi product does not cause bodily injury, fire or other consequential damage due to operation of the Hitachi product. 5. This product is not designed to be radiation resistant. 6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval from Hitachi. 7. Contact Hitachi's sales office for any questions regarding this document or Hitachi semiconductor products.
Hitachi, Ltd.
Semiconductor & Integrated Circuits Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Tel: (03) 3270-2111 Fax: (03) 3270-5109
URL
http://www.hitachisemiconductor.com/
For further information write to:
Hitachi Semiconductor (America) Inc. 179 East Tasman Drive San Jose,CA 95134 Tel: <1> (408) 433-1990 Fax: <1>(408) 433-0223 Hitachi Europe Ltd. Electronic Components Group Whitebrook Park Lower Cookham Road Maidenhead Berkshire SL6 8YA, United Kingdom Tel: <44> (1628) 585000 Fax: <44> (1628) 585200 Hitachi Europe GmbH Electronic Components Group Dornacher Strae 3 D-85622 Feldkirchen Postfach 201,D-85619 Feldkirchen Germany Tel: <49> (89) 9 9180-0 Fax: <49> (89) 9 29 30 00 Hitachi Asia Ltd. Hitachi Tower 16 Collyer Quay #20-00 Singapore 049318 Tel : <65>-538-6533/538-8577 Fax : <65>-538-6933/538-3877 URL : http://semiconductor.hitachi.com.sg Hitachi Asia Ltd. (Taipei Branch Office) 4/F, No. 167, Tun Hwa North Road Hung-Kuo Building Taipei (105), Taiwan Tel : <886>-(2)-2718-3666 Fax : <886>-(2)-2718-8180 Telex : 23222 HAS-TP URL : http://www.hitachi.com.tw Hitachi Asia (Hong Kong) Ltd. Group III (Electronic Components) 7/F., North Tower World Finance Centre, Harbour City, Canton Road Tsim Sha Tsui, Kowloon Hong Kong Tel : <852>-(2)-735-9218 Fax : <852>-(2)-730-0281 URL : http://semiconductor.hitachi.com.hk
Copyright (c) Hitachi, Ltd., 2001. All rights reserved. Printed in Japan.
Colophon 5.0


▲Up To Search▲   

 
Price & Availability of HD66760

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X